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
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class ThicknessToOrientedThicknessConverter : Object, 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.
|
System.
|
System. Left, top, right, bottom string values in any combination or order. |
System.
|
Returns
System.
|
ConvertBack(Object, Type, Object, CultureInfo)
Not supported.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.
|
System.
|
System.
|
System.
|
Returns
System. The value. |