Class BoolNegationConverter
Value converter that applies NOT operator to a System.Boolean value.
Inheritance
System.Object
BoolNegationConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class BoolNegationConverter : Object, IValueConverter
Constructors
BoolNegationConverter()
Declaration
public BoolNegationConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Convert a boolean value to its negation.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The System.Boolean value to negate. |
System.Type | targetType | The type of the target property, as a type reference. |
System.Object | parameter | Optional parameter. Not used. |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object | The value to be passed to the target dependency property. |
ConvertBack(Object, Type, Object, CultureInfo)
Convert back a boolean value to its negation.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The System.Boolean value to negate. |
System.Type | targetType | The type of the target property, as a type reference. |
System.Object | parameter | Optional parameter. Not used. |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object | The value to be passed to the target dependency property. |
Implements
System.Windows.Data.IValueConverter