Converts a value of the type GridLength into the type Double.

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 GridLength.
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: "Auto", "*" or null.
culture
Type: System.Globalization..::..CultureInfo
Language and local parameters used in converter. The value is ignored.

Return Value

Type: Object
A value of the type Double. Result is a value of the Value type or DependencyProperty.UnsetValue, in case types dont match ("Auto", "*" or pixels amount) value и parameter or failure during method execution.

Implements

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

See Also