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

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


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


Type: System..::..Object
Initial value of the type Double.
Type: System..::..Type
A target type. The value is ignored.
Type: System..::..Object
Converter's parameter. Has to be a string and can be one of the next values: "Auto", "*" or null.
Type: System.Globalization..::..CultureInfo
Language and local parameters used in converter. The value is ignored.

Return Value

Type: Object
A value of the type GridLength. The results depends on the value of the following paremeter parameter:
  • "Auto": GridLength.Auto. A value of the parameter value is ignored.
  • "*": A value is represented as a calculated part of the available space. A value of the part weight has to be set in the parameter value.
  • null: A value, measured in pixels, is returned A quantity of pixels has to be set in the parameter value.


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

See Also