Class ObjectNullToVisibilityConverter
Returns System.Windows.Visibility.Visible when object is not null and System.Windows.Visibility.Collapsed when object is null.
Inheritance
System.Object
ObjectNullToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class ObjectNullToVisibilityConverter : Object, IValueConverter
Constructors
ObjectNullToVisibilityConverter()
Declaration
public ObjectNullToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
targetType |
|
System.Object |
parameter |
|
System.Globalization.CultureInfo |
culture |
|
Returns
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
targetType |
|
System.Object |
parameter |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Implements
System.Windows.Data.IValueConverter