Click or drag to resize

IValueConverterConvertBack Method

Converts the value to the specified targetType.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
Object ConvertBack(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)

Parameters

value
Type: SystemObject
Value to convert
targetType
Type: SystemType
Type to convert the value back to
parameter
Type: SystemObject
Context-specific parameter passed from the binding
culture
Type: System.GlobalizationCultureInfo
Culture to convert with

Return Value

Type: Object
A converted value with the type of targetType.
Remarks
This is called when translating the value back from the destination to the source, usually from the View Model to the Control. This should be the reverse implementation of the Convert(Object, Type, Object, CultureInfo) method.
See Also