WPF Property Data binding to negate the property
Posted
by azamsharp
on Stack Overflow
See other posts from Stack Overflow
or by azamsharp
Published on 2010-04-05T19:06:03Z
Indexed on
2010/04/05
19:13 UTC
Read the original article
Hit count: 370
wpf
Is there any way to change the value of property at runtime in WPF data binding. Let's say my TextBox is bind to a IsAdmin property. Is there anyway I can change that property value in XAML to be !IsAdmin.
I just want to negate the property so Valueconverter might be an overkill!
NOTE: Without using ValueConverter
© Stack Overflow or respective owner