Converts a SolidColorBrush to a Color.
May be used in XAML as a markup extension.
Public Member Functions |
|
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Converts from a Color to a SolidColorBrush.
|
|
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Converts from a SolidColorBrush to a Color.
|
|
override object | ProvideValue (IServiceProvider serviceProvider) |
Implements the MarkupExtension interface to
return the shared Converter. |
|
Static Public Attributes |
|
static
readonly ColorToSolidColorBrushConverter |
Converter |
Common instance of this converter. |
object WPFCustomControls::Converters::ColorToSolidColorBrushConverter::Convert | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture | ||
) | [inline] |
Converts from a Color to a SolidColorBrush.
value | standard |
targetType | standard |
parameter | standard |
culture | standard |
object WPFCustomControls::Converters::ColorToSolidColorBrushConverter::ConvertBack | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture | ||
) | [inline] |
Converts from a SolidColorBrush to a Color.
value | standard |
targetType | standard |
parameter | standard |
culture | standard |
override object WPFCustomControls::Converters::ColorToSolidColorBrushConverter::ProvideValue | ( | IServiceProvider | serviceProvider | ) | [inline] |
Implements the MarkupExtension interface to return the shared Converter.
serviceProvider | Not used. |
readonly
ColorToSolidColorBrushConverter
WPFCustomControls::Converters::ColorToSolidColorBrushConverter::Converter
[static] |
new ColorToSolidColorBrushConverter()
Common instance of this converter.
May be shared to reduce memory demands, and provided by the MarkupExtension.