TXTextControl.WPF.BooleanConverter.ConvertBack Method

Converts a boolean to a value of the type specified through the targetType parameter.


public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
[Visual Basic]
Public Function ConvertBack(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Member Description

The boolean value that is produced by the binding target.


The type to convert to.


The converter parameter to use. It must be a string representation of the value to return. If value is true this value is returned. If value is false, DependencyProperty.UnsetValue is returned.


The culture to use in the converter.

Return Value

The converted value. The method returns DependencyProperty.UnsetValue, if the conversion is not possible or if value is false.

See Also