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.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class ThicknessToOrientedThicknessConverter : IValueConverter

Inheritance: objectThicknessToOrientedThicknessConverter

Implements: IValueConverter

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

object

targetType

Type

parameter

object

Left, top, right, bottom string values in any combination or order.

culture

CultureInfo

Returns

object

ConvertBack(object, Type, object, CultureInfo)

Not supported.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object

The value.