ClassBorderThicknessToMarginConverter
Value converter that converts the Border's Thickness to Margin value.
Definition
Namespace:Telerik.UI.Xaml.Controls.Grid.View
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class BorderThicknessToMarginConverter : IValueConverter
Inheritance: objectBorderThicknessToMarginConverter
Implements:
Constructors
BorderThicknessToMarginConverter()
Declaration
public BorderThicknessToMarginConverter()
Methods
Convert(object, Type, object, string)
Convert a border's Thickness value to a Margin.
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
value
The source data being passed to the target.
targetType
The type of the target property, as a type reference.
parameter
The format string.
language
The language of the conversion. Not used.
Returns
The formatted string.
ConvertBack(object, Type, object, string)
Not implemented.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)
Parameters
value
The source data being passed to the target.
targetType
The type of the target property, as a type reference.
parameter
Optional parameter. Not used.
language
The language of the conversion. Not used.
Returns
The value to be passed to the target dependency property.