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

Inheritance: IValueConverter
Afficher le fichier Open project: Invenietis/ck-certified

Méthodes publiques

Méthode 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 méthode

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.
Résultat object

ConvertBack() public méthode

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.
Résultat object