Alex141 / CalcBinding

Advanced WPF Binding which supports expressions in Path property and other features
Apache License 2.0
638 stars 79 forks source link

How to escape the equals sign? #42

Closed RafaelSalguero closed 8 years ago

RafaelSalguero commented 8 years ago

In XAML the equals sign is an special character on attribute values.

How to write the following expression?

Visibility ="{c:Binding Value == null}"

Thanks

Alex141 commented 8 years ago

Wrap constructor value 'path' in single quotes like this:

<CheckBox Content="Name is null" IsChecked="{c:Binding 'Name==null', Mode=OneWay}" Margin="0,0,0,5"/>