C# Класс MediaOwl.Core.BoolVisibilityInvertConverter

An IValueConverter which inverts bool and returns the corresponding System.Windows.Visibility.
Наследование: IValueConverter
Показать файл Открыть проект

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

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

Inverts the boolean value and returns the corresponding visibility.

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

Takes a visibility, converts it to a boolean value and returns the inverted boolean value. This method is called only in F:System.Windows.Data.BindingMode.TwoWay bindings.

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

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

Inverts the boolean value and returns the corresponding visibility.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The source data being passed to the target.
targetType System.Type The of data expected by the target dependency property.
parameter object An optional parameter to be used in the converter logic.
culture System.Globalization.CultureInfo The culture of the conversion.
Результат object

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

Takes a visibility, converts it to a boolean value and returns the inverted boolean value. This method is called only in F:System.Windows.Data.BindingMode.TwoWay bindings.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The target data being passed to the source.
targetType System.Type The of data expected by the source object.
parameter object An optional parameter to be used in the converter logic.
culture System.Globalization.CultureInfo The culture of the conversion.
Результат object