Jump to content
Software FX Community

Recommended Posts

Posted

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?

Posted

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...