C# 클래스 System.Windows.Controls.TypeToVisibilityConverter

Converts a type to the visible value, if the parameter has the same value as the type.
상속: IValueConverter
파일 보기 프로젝트 열기: lecode-official/mvvm-framework

공개 메소드들

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

Converts the value parameter to a visibility value.

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

Converts a visibility value back to a type.

메소드 상세

Convert() 공개 메소드

Converts the value parameter to a visibility value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is to be converted.
targetType Type The type to which the value is to be converted. In this case it is always visibility.
parameter object A parameter that determines the value to which the value has to be equal to return visible.
culture System.Globalization.CultureInfo The culture information of the current culture, so that parsing can be adjusted to cultural conventions.
리턴 object

ConvertBack() 공개 메소드

Converts a visibility value back to a type.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is to be converted.
targetType Type The type to which the value is to be converted. In this case it is type.
parameter object A parameter whose enum value is returned.
culture System.Globalization.CultureInfo The culture information of the current culture, so that parsing can be adjusted to cultural conventions.
리턴 object