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
)
Function ConvertBack (
value As Object,
targetType As Type,
parameter As Object,
culture As CultureInfo
) As Object
abstract ConvertBack :
value : Object *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
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:
ObjectA 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