IValueConverter.ConvertBack Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

Syntax

Function ConvertBack ( _
    value As Object, _
    targetType As Type, _
    parameter As Object, _
    culture As CultureInfo _
) As Object
Object ConvertBack(
    Object value,
    Type targetType,
    Object parameter,
    CultureInfo culture
)

Parameters

  • parameter
    Type: System..::.Object
    An optional parameter to be used in the converter logic.

Return Value

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

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

IValueConverter Interface

System.Windows.Data Namespace

Convert

Other Resources

Data binding for Windows Phone 8