ClassThicknessToOrientedThicknessConverter
Class
Modifies the passed thickness to thickness where only the required parameters are present. E.g. 2 3 4 5 with parameter LeftTop is returned as 2 3 0 0.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
cs-api-definition
public class ThicknessToOrientedThicknessConverter : IValueConverter
Inheritance: objectThicknessToOrientedThicknessConverter
Implements:
Constructors
ThicknessToOrientedThicknessConverter()
Declaration
cs-api-definition
public ThicknessToOrientedThicknessConverter()
Methods
Convert(object, Type, object, CultureInfo)
Returns the passed Thickness value modified based on the parameter.
Declaration
cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
Left, top, right, bottom string values in any combination or order.
culture
Returns
ConvertBack(object, Type, object, CultureInfo)
Not supported.
Declaration
cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns
The value.