C# Class Microsoft.Windows.Controls.Core.Converters.ColorToSolidColorBrushConverter

Inheritance: IValueConverter
Datei anzeigen Open project: Invenietis/ck-certified

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object

Converts a Color to a SolidColorBrush.

ConvertBack ( object value, Type targetType, object parameter, System culture ) : object

Converts a SolidColorBrush to a Color.

Currently not used in toolkit, but provided for developer use in their own projects

Method Details

Convert() public method

Converts a Color to a SolidColorBrush.
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object The Color produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object

ConvertBack() public method

Converts a SolidColorBrush to a Color.
Currently not used in toolkit, but provided for developer use in their own projects
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The SolidColorBrush that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object