C# Класс Microsoft.Silverlight.Testing.Client.BrushSelector

A color selection converter for translating a bool result into a color.
Наследование: IValueConverter
Показать файл Открыть проект

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

Метод Описание
BrushSelector ( ) : System

Initializes a new instance of the ColorSelectorConverter type.

Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Convert a boolean value to a Color value.

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

Support 2-way databinding of the VisibilityConverter, converting Visibility to a boolean.

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

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

Initializes a new instance of the ColorSelectorConverter type.
public BrushSelector ( ) : System
Результат System

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

Convert a boolean value to a Color value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type The target parameter.
parameter object ConverterParameter is of type Visibility.
culture System.Globalization.CultureInfo The culture parameter.
Результат object

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

Support 2-way databinding of the VisibilityConverter, converting Visibility to a boolean.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type The target parameter.
parameter object ConverterParameter is of type Visibility.
culture System.Globalization.CultureInfo The culture parameter.
Результат object