Open LucaFagan opened 4 years ago
Hello,
I'm not able to use the following syntax decrived in your examples
xmlns:c="clr-namespace:CalcBinding;assembly=CalcBinding" xmlns:sys="clr-namespace:System;assembly=mscorlib" Visibility="{c:Binding '(JobParamsOtt.MULTIPLY_RIP_TYPE != 1) ? sys:Visibility.Visible : sys:Visibility.Hidden'}">
I get error: XamlParseException: The type reference cannot find the named type '{clr-namespace:System;assembly=mscorlib}Visibility'.
I've tried to change reference to sys in this way but keep getting error
xmlns:sys="clr-namespace:System;assembly= System"
I get error: XamlParseException: The type reference cannot find the named type '{clr-namespace:System;assembly=System}Visibility'.
What is wrong with my code ?
Regards Luca
I've discovered that the right name space is
xmlns:win="clr-namespace:System.Windows;assembly=PresentationCore"
Hello,
I'm not able to use the following syntax decrived in your examples
I get error: XamlParseException: The type reference cannot find the named type '{clr-namespace:System;assembly=mscorlib}Visibility'.
I've tried to change reference to sys in this way but keep getting error
I get error: XamlParseException: The type reference cannot find the named type '{clr-namespace:System;assembly=System}Visibility'.
What is wrong with my code ?
Regards Luca