HypernovaDesktop Components · docs
Binarymission
WPFSmart Info Panel › SolidColorBrushToColorConverter

SolidColorBrushToColorConverter

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Containers

A helper / converter class that helps in getting the Color value for a given SolidColorBrush instance.

public class SolidColorBrushToColorConverter : IValueConverter

Inherits from / implements: IValueConverter

Members at a glance

ConvertPerforms the conversion this converter exists for, as described on SolidColorBrushToColorConverter.
ConvertBackNot supported. This conversion is one-way, so there is nothing to convert back to.

Methods

Convert

public object Convert(object o, Type type, object parameter, System.Globalization.CultureInfo culture)

Performs the conversion this converter exists for, as described on SolidColorBrushToColorConverter.

o
The value produced by the binding source.
type
The type the binding target expects.
parameter
The converter parameter given in the binding.
culture
The culture to use for the conversion.

Returns. The converted value.

ConvertBack

public object ConvertBack(object o, Type type, object parameter, System.Globalization.CultureInfo culture)

Not supported. This conversion is one-way, so there is nothing to convert back to.

o
The value produced by the binding source.
type
The type the binding target expects.
parameter
The converter parameter given in the binding.
culture
The culture to use for the conversion.

Returns. No usable value.