Daniel's XL Toolbox NG
Bovender.Mvvm.Converters.BooleanNegationConverter Class Reference

Negates a boolean value. More...

Inheritance diagram for Bovender.Mvvm.Converters.BooleanNegationConverter:
Collaboration 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)
 
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>

Member Function Documentation

◆ Convert() [1/2]

object Bovender.Mvvm.Converters.BooleanNegationConverter.Convert ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

◆ Convert() [2/2]

object Bovender.Mvvm.Converters.BooleanNegationConverter.Convert ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

◆ ConvertBack() [1/2]

object Bovender.Mvvm.Converters.BooleanNegationConverter.ConvertBack ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

◆ ConvertBack() [2/2]

object Bovender.Mvvm.Converters.BooleanNegationConverter.ConvertBack ( object  value,
Type  targetType,
object  parameter,
System.Globalization.CultureInfo  culture 
)
inline

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