Clears values of specified sides of the border

Namespace: Elysium.Converters
Assembly: Elysium (in Elysium.dll) Version: 2.0.976.4 (2.0.976.4)

Syntax

C#
public Object Convert(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
Visual Basic
Public Function Convert ( 
	value As Object,
	targetType As Type,
	parameter As Object,
	culture As CultureInfo
) As Object

Parameters

value
Type: System..::..Object
Initial value of the type Thickness.
targetType
Type: System..::..Type
A target type. The value is ignored.
parameter
Type: System..::..Object
Converter's parameter. Has to be a string and can be one of the next values: "Left", "Top", "Right", "Bottom". The value corresponds to sides of the border, which have to be saved
culture
Type: System.Globalization..::..CultureInfo
Language and local parameters used in converter. The value is ignored.

Return Value

Type: Object
Значение типа Thickness, идентичное значению value, за исключением обнулённых краёв. If there is a failure during method execution, following value will be returned DependencyProperty.UnsetValue.

Implements

IValueConverter..::..Convert(Object, Type, Object, CultureInfo)

See Also