Class
ThicknessToDoubleConverter

Converts Thickness to Double.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

cs-api-definition
public class ThicknessToDoubleConverter : IValueConverter

Inheritance: objectThicknessToDoubleConverter

Implements: IValueConverter

Constructors

ThicknessToDoubleConverter()

Declaration

cs-api-definition
public ThicknessToDoubleConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts a Thickness to double only if Top==Right==Left==Bottom.

Declaration

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

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object

ConvertBack(object, Type, object, CultureInfo)

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