C# 클래스 Microsoft.Silverlight.Testing.Client.BrushSelector

A color selection converter for translating a bool result into a color.
상속: IValueConverter
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
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