C# 클래스 Windows.Mvvm.UI.Controls.TypeToBooleanConverter

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

공개 메소드들

메소드 설명
Convert ( object value, Type targetType, object parameter, string language ) : object

Convertes the value parameter to a boolean value.

ConvertBack ( object value, Type targetType, object parameter, string language ) : object

Converts a boolean value back to a type.

메소드 상세

Convert() 공개 메소드

Convertes the value parameter to a boolean value.
public Convert ( object value, Type targetType, object parameter, string language ) : object
value object The type that is to be converted.
targetType System.Type The type to which the value is to be converted. In this case it is always boolean.
parameter object A parameter that determines the value to which the type has to be equal to return true.
language string The name of the language, so that parsing can be adjusted to cultural conventions.
리턴 object

ConvertBack() 공개 메소드

Converts a boolean value back to a type.
public ConvertBack ( object value, Type targetType, object parameter, string language ) : object
value object The value that is to be converted.
targetType System.Type The type to which the value is to be converted. In this case it is a type.
parameter object A parameter whose type is returned.
language string The name of the language, so that parsing can be adjusted to cultural conventions.
리턴 object