|
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
|
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
|
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
|
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
|
Negates a boolean value.
Credits: http://stackoverflow.com/a/1039681/270712
For ease of use, put something like this in a central resource dictionary:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:conv="clr-namespace:Bovender.Mvvm.Converters;assembly=Bovender"
>
<conv:BooleanNegationConverter x:Key="boolNegConv" />
</ResourceDictionary>