TXTextControl.WPF.ColorConverter.ConvertBack Method

Converts a System.Windows.Media.Color to a System.Drawing.Color value.

Syntax

[C#]
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
value

The System.Windows.Media.Color value that is produced by the binding target.

targetType

The type to convert to. It must be System.Drawing.Color.

parameter

This parameter is not used and can be set to null.

culture

The culture to use in the converter.

Return Value

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

See Also