Represents the converter that converts Brush values to and from Color and vice versa. It is somehow an opposite of the ColorToBrushConverter.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
C#
public class BrushToColorConverter : IValueConverter
Inheritance: objectBrushToColorConverter
Implements:
Constructors
C#
public BrushToColorConverter()
Methods
Gets the color of the given SolidColorBrush.
C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Creates a new SolidColorBrush from a Color.
C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)