C# Class MetroTrilithon.Converters.StringToVisiblityConverter

文字列が null または空文字のときに Visibility.Collapsed、それ以外のときに Visibility.Visible を返すコンバーターを定義します。
Inheritance: IValueConverter
Exibir arquivo Open project: Grabacr07/MetroTrilithon

Public Methods

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

Method Details

Convert() public method

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

ConvertBack() public method

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