C# Класс System.Waf.Presentation.Converters.BoolToVisibilityConverter

Value converter that converts a boolean value to and from Visibility enumeration values.
Наследование: IValueConverter
Показать файл Открыть проект

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

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

Converts a boolean value into a Visibility enumeration value.

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

Converts a Visibility enumeration value into a boolean value.

Приватные методы

Метод Описание
IsInvertParameterSet ( object parameter ) : bool

Описание методов

Convert() публичный Метод

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType Type
parameter object
culture System.Globalization.CultureInfo
Результат object

Convert() публичный Метод

Converts a boolean value into a Visibility enumeration value.
public Convert ( object value, Type targetType, object parameter, string culture ) : object
value object The boolean value.
targetType Type The type of the binding target property. This parameter will be ignored.
parameter object Use the string 'Invert' to get an inverted result (Visible and Collapsed are exchanged). /// Do not specify this parameter if the default behavior is desired.
culture string The culture to use in the converter.
Результат object

ConvertBack() публичный Метод

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType Type
parameter object
culture System.Globalization.CultureInfo
Результат object

ConvertBack() публичный Метод

Converts a Visibility enumeration value into a boolean value.
public ConvertBack ( object value, Type targetType, object parameter, string culture ) : object
value object The Visibility enumeration value.
targetType Type The type of the binding target property. This parameter will be ignored.
parameter object Use the string 'Invert' to get an inverted result (true and false are exchanged). /// Do not specify this parameter if the default behavior is desired.
culture string The culture to use in the converter.
Результат object