C# Класс System.Windows.Controls.InvertedBooleanConverter

Convertes boolean values into their negated boolean value (true => false, false => true).
Наследование: IValueConverter
Показать файл Открыть проект

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

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

Convertes the boolean value parameter to its inverted boolean value. True converts to false and false converts to true.

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

Convertes the visibility value parameter to a boolean value. Visible converts to true and collapsed converts to false.

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

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

Convertes the boolean value parameter to its inverted boolean value. True converts to false and false converts to true.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The boolean value that is to be converted.
targetType Type The type to which the value is to be converted. In this case it is always .
parameter object A parameter for the conversion. Not used in this converter, so it should always be null.
culture System.Globalization.CultureInfo The culture information of the current culture, so that parsing can be adjusted to cultural conventions.
Результат object

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

Convertes the visibility value parameter to a boolean value. Visible converts to true and collapsed converts to false.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The visibility value that is to be converted.
targetType Type The type to which the value is to be converted. In this case it is always .
parameter object A parameter for the conversion. Not used in this converter, so it should always be null.
culture System.Globalization.CultureInfo The culture information of the current culture, so that parsing can be adjusted to cultural conventions.
Результат object