ColorToBrushConverter.

ConvertBack(object, Type, object, CultureInfo) Method

Summary

Converts an ISolidColorBrush to a Color if the arguments are of the correct type.

Syntax

public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

Name Type Description
value object The value.
targetType Type The target type.
parameter object Not used.
culture CultureInfo Not used.

Return Value

Type Description
object If value is an ISolidColorBrush and targetType is Color then converts the solid color brush to a color.