ClassBrushToColorConverter
Class
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:
cs-api-definition
public class BrushToColorConverter : IValueConverter
Inheritance: objectBrushToColorConverter
Implements:
Constructors
BrushToColorConverter()
Declaration
cs-api-definition
public BrushToColorConverter()
Methods
Convert(object, Type, object, CultureInfo)
Gets the color of the given SolidColorBrush.
Declaration
cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns
ConvertBack(object, Type, object, CultureInfo)
Creates a new SolidColorBrush from a Color.
Declaration
cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
targetType
parameter
culture
Returns