Class CornerRadiusToThicknessConverter
Converts Microsoft.Maui.CornerRadius to Microsoft.Maui.Thickness and converts back Microsoft.Maui.Thickness to Microsoft.Maui.CornerRadius.
Inheritance
System.Object
CornerRadiusToThicknessConverter
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class CornerRadiusToThicknessConverter : Object, IValueConverter
Constructors
CornerRadiusToThicknessConverter()
Declaration
public CornerRadiusToThicknessConverter()
Properties
Instance
Gets a static instance of the class.
Declaration
public static IValueConverter Instance { get; }
Property Value
Microsoft.Maui.Controls.IValueConverter
|
Methods
Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|