bovender framework
C# framework that implements MVVM and more
Bovender.Mvvm.Converters.BooleanNegationConverter Class Reference

Negates a boolean value. More...

Inheritance diagram for Bovender.Mvvm.Converters.BooleanNegationConverter:

Public Member Functions

object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 
object ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 

Detailed Description

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>

Definition at line 47 of file BooleanNegationConverter.cs.


The documentation for this class was generated from the following file: