Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to escape the equals sign? #42

Closed
RafaelSalguero opened this issue Oct 17, 2016 · 1 comment
Closed

How to escape the equals sign? #42

RafaelSalguero opened this issue Oct 17, 2016 · 1 comment

Comments

@RafaelSalguero
Copy link

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
Copy link
Owner

Alex141 commented Oct 18, 2016

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

@Alex141 Alex141 closed this as completed Nov 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants