C# 클래스 ListsSample.ItemVisibilityConverter

This is a simple converter which returns a visibility based on an object. If the object is null,the visibility is collapsed, otherwise, the visibility is visible. This is used when binding to the selected item of a list box.
상속: IValueConverter
파일 보기 프로젝트 열기: rafek/SyncFx

공개 메소드들

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

메소드 상세

Convert() 공개 메소드

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
리턴 object

ConvertBack() 공개 메소드

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
리턴 object