C# 클래스 Ntreev.Library.PsdViewer.Converters.BooleanToVisibilityConverter

An IValueConverter which converts bool to Visibility.
상속: IValueConverter
파일 보기 프로젝트 열기: NtreevSoft/psd-parser

공개 메소드들

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

Converts a boolean value to a Visibility value.

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

Converts a value Visibility value to a boolean value.

메소드 상세

Convert() 공개 메소드

Converts a boolean value to a Visibility value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
리턴 object

ConvertBack() 공개 메소드

Converts a value Visibility value to a boolean value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
리턴 object