Converts Boolean values to an inverted format, where true becomes false and false becomes true.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class InvertedBooleanConverter : IValueConverter
Inheritance: objectInvertedBooleanConverter
Implements:
Constructors
public InvertedBooleanConverter()
Methods
Converts a Boolean value to its inverted equivalent.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
The Boolean value to be converted.
targetTypeTypeThe type to which the value is being converted.
parameterobjectAn optional parameter used for conversion.
cultureCultureInfoThe culture information that can be used in the conversion.
Returns:Returns the inverted Boolean value as an object.
Converts a value from a specific type to a boolean value based on an inverted logic.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The value to be converted back to a boolean.
targetTypeTypeThe type to which the value is being converted.
parameterobjectAn optional parameter to customize the conversion process.
cultureCultureInfoThe culture information to be considered during the conversion.
Returns:Returns the converted boolean value.