C# 클래스 WinRTXamlToolkit.Converters.BooleanToVisibilityConverter

Value converter that translates true to Visibility.Visible and false to Visibility.Collapsed.
상속: IValueConverter
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
Convert ( object value, Type targetType, object parameter, string language ) : object

Modifies the source data before passing it to the target for display in the UI.

ConvertBack ( object value, Type targetType, object parameter, string language ) : object

Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.

메소드 상세

Convert() 공개 메소드

Modifies the source data before passing it to the target for display in the UI.
public Convert ( object value, Type targetType, object parameter, string language ) : object
value object The source data being passed to the target.
targetType System.Type The type of the target property, specified by a helper structure that wraps the type name.
parameter object An optional parameter to be used in the converter logic.
language string The language of the conversion.
리턴 object

ConvertBack() 공개 메소드

Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.
public ConvertBack ( object value, Type targetType, object parameter, string language ) : object
value object The target data being passed to the source..
targetType System.Type The type of the target property, specified by a helper structure that wraps the type name.
parameter object An optional parameter to be used in the converter logic.
language string The language of the conversion.
리턴 object