ClassInverseThicknessConverter
Converts a Thickness value to its inverse by negating all components.
Definition
Namespace:Telerik.Maui.Controls.Expander
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class InverseThicknessConverter : IValueConverter
Inheritance: objectInverseThicknessConverter
Implements:
Constructors
InverseThicknessConverter()
Declaration
public InverseThicknessConverter()
Methods
Convert(object, Type, object, CultureInfo)
Converts a Thickness value to its inverse.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The Thickness value to convert.
targetType
The type of the binding target property.
parameter
The converter parameter to use.
culture
The culture to use in the converter.
Returns
A new Thickness with all components negated.
ConvertBack(object, Type, object, CultureInfo)
Converts a value back. This method is not implemented and throws NotImplementedException.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The value that is produced by the binding target.
targetType
The type to convert to.
parameter
The converter parameter to use.
culture
The culture to use in the converter.
Returns
A converted value.
Exceptions
This method is not implemented.