Class BoolNegationConverter
Value converter that applies NOT operator to a System.Boolean value.
Inheritance
System.Object
BoolNegationConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class BoolNegationConverter : 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