Alex141 / CalcBinding

Advanced WPF Binding which supports expressions in Path property and other features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to escape the equals sign?

RafaelSalguero opened this issue · comments

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

How to write the following expression?

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

Thanks

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"/>