Hide UocCheckox based on Boolean value
-
Tuesday, October 09, 2012 7:13 AM
Hi All,
I have a scenario like UocCheckbox control needs to be made invisible based on a attribute in user object.
However this can be made like as follows: <my:Property my:Name="Visible" my:Value="{Binding Source=object, Path=boolAttribute, Mode=OneWay}" />. UocCheckBox will be hidden if boolAttribute=false
But the problem is : UocCheckBox needs to be hidden when the boolAttribute value is "true".
Can anyone suggest how do I achieve this scenario?
Thanks in Advance...
Thanks and Regards, Siva Kumar Balaguru
All Replies
-
Tuesday, October 09, 2012 8:12 AMwell. make another attibute that's true if that attribute is false? and bind expression to new attribute?
- Edited by 4c74356b41 Tuesday, October 09, 2012 8:12 AM
- Edited by 4c74356b41 Tuesday, October 09, 2012 8:12 AM
-
Tuesday, October 09, 2012 9:15 AM
That's fine.
Is there any way we can achieve this without creating a new attribute?
Thanks and Regards, Siva Kumar Balaguru

