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