Back to Class Reference home page
Windows.UI.Xaml.Data.IValueConverter | System.Windows.Data.IValueConverter
MVVMbasics.Converters.NullToVisibilityConverter
public class NullToVisibilityConverter : Windows.UI.Xaml.Data.IValueConverter | System.Windows.Data.IValueConverter
Converter class that converts values to the Visibility.Collapsed value if they are NULL, and to Visibility.Visible otherwise.
| Method Summary | |
|---|---|
object |
Convert(object value, Type targetType, object parameter, ...)
Converts values to the Visibility.Collapsed value if they are NULL, and to Visibility.Visible otherwise. |
| Method Detail |
|---|
public object Convert(object value, Type targetType, object parameter, ...)
Converts values to the Visibility.Collapsed value if they are NULL, and to Visibility.Visible otherwise.
value - Input value
targetType - (not used)
parameter - (not used)
Visibility.Collapsed if the input value is NULL, Visibility.Visible otherwise