C# Класс Windows.Mvvm.UI.Controls.TypeToVisibilityConverter

Converts a type to the visible value, if the parameter has the same value as the type.
Наследование: IValueConverter
Показать файл Открыть проект

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

Метод Описание
Convert ( object value, Type targetType, object parameter, string language ) : object

Converts the value parameter to a visibility value.

ConvertBack ( object value, Type targetType, object parameter, string language ) : 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, 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 always visibility.
parameter object A parameter that determines the value to which the value has to be equal to return visible.
language string The name of the language, 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, 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 type.
parameter object A parameter whose enum value is returned.
language string The name of the language, so that parsing can be adjusted to cultural conventions.
Результат object