Class ThicknessToOrientedThicknessConverter
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.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class ThicknessToOrientedThicknessConverter : IValueConverter
Constructors
ThicknessToOrientedThicknessConverter()
Declaration
public ThicknessToOrientedThicknessConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Returns the passed Thickness value modified based on the parameter.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
Left, top, right, bottom string values in any combination or order. |
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Not supported.
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
The value. |