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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class ObjectNullToVisibilityConverter : 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
Type |
---|
System.Object |
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
Type |
---|
System.Object |
Implements
System.Windows.Data.IValueConverter