Changes the sign of the specified border sides to opposite.

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

Syntax

C#
public Object ConvertBack(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
Visual Basic
Public Function ConvertBack ( 
	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 the side of the border, which is used in calculations.
culture
Type: System.Globalization..::..CultureInfo
Language and local parameters used in converter. The value is ignored.

Return Value

Type: Object
The value of the type Thickness, which value for the any side of the border is equal to absolute value, but the sign is changed to opposite. If there is a failure during method execution, following value will be returned DependencyProperty.UnsetValue.

Implements

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

See Also