IValueConverter.ConvertBack Method

May 11, 2014

Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)

Object ConvertBack(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)

Parameters

value
Type: System.Object
The target data being passed to the source.
targetType
Type: System.Type
The Type of data expected by the source object.
parameter
Type: System.Object
An optional parameter to be used in the converter logic.
culture
Type: System.Globalization.CultureInfo
The culture of the conversion.

Return Value

Type: System.Object
The value to be passed to the source object.

If UnsetValue is returned, the source object is not updated.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft