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

A value converter for collapsing or showing elements based on the bound object's type name. Does not walk the hierarchy - it is explicit to the most specific class for the value.
상속: IValueConverter
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Convert a value based on CLR type to a Visibility value. Does not walk the type tree, however.

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

Convert back, not supported with this value converter.

메소드 상세

Convert() 공개 메소드

Convert a value based on CLR type to a Visibility value. Does not walk the type tree, however.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value instance.
targetType System.Type The target parameter.
parameter object ConverterParameter is the name of the type, /// both short and full names are checked, short name first.
culture System.Globalization.CultureInfo The culture parameter.
리턴 object

ConvertBack() 공개 메소드

Convert back, not supported with this value converter.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value instance.
targetType System.Type The target parameter.
parameter object ConverterParameter is of type Visibility.
culture System The culture parameter.
리턴 object