C# Класс Microsoft.Windows.Controls.Core.Converters.ColorToSolidColorBrushConverter

Наследование: IValueConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Convert() публичный Метод

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.
Результат object

ConvertBack() публичный Метод

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.
Результат object