C# 클래스 MediaOwl.Core.BoolInvertConverter

An IValueConverter which inverts bool.
상속: IValueConverter
파일 보기 프로젝트 열기: Slesa/Playground

공개 메소드들

메소드 설명
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Inverts a boolean value

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

Inverts a boolean value. This method is called only in F:System.Windows.Data.BindingMode.TwoWay bindings.

메소드 상세

Convert() 공개 메소드

Inverts a boolean value
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() 공개 메소드

Inverts a 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