Class PositionStateToBorderThicknessConverter
Converts the PositionState of the PaletteViewItems to BorderThickness used in the ControlTemplate.
Inheritance
System.Object
PositionStateToBorderThicknessConverter
Namespace: Telerik.Windows.Controls.ColorPicker.Converters
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class PositionStateToBorderThicknessConverter : Object, IValueConverter
Constructors
PositionStateToBorderThicknessConverter()
Declaration
public PositionStateToBorderThicknessConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the PositionState to corresponding BorderThickness.
Declaration
public object Convert(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
|
ConvertBack(Object, Type, Object, CultureInfo)
Throws not implemented exception.
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
|