Bober02 Posted July 26, 2010 Report Posted July 26, 2010 I have a property called Highlighted, which I try to bind to IsTrueCondition. Every time it just treats it as if it was true and sets the correcsponding fill. I tried a workaround by specifying a corresponding int to other property (called P) and then wrote sth like this: <cfx:ConditionalAttributes Fill="Green"> <cfx:ConditionalAttributes.Condition> <cfx:RangeCondition From="0" To="10" BindingPath="P" /> </cfx:ConditionalAttributes.Condition> </cfx:ConditionalAttributes> Now every time I changed Highlight, P is set to 5 and it changes colour to green. But why isn't the boolean property working? Quote
JuanC Posted July 27, 2010 Report Posted July 27, 2010 If you are talking about TrueCondition, this is a condition that always evaluates to True. Currently we do not have a condition tailored to flag boolean properties, we will check if we can modify RangeCondition to support them. JuanC Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.