Class NullToBooleanConverter
Converts a null value to a System.Boolean value. When the provided value is null, the converter returns true. When the provided value is not null, the converter returns false.
Inheritance
System.Object
NullToBooleanConverter
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class NullToBooleanConverter : Object, IValueConverter
Constructors
NullToBooleanConverter()
Declaration
public NullToBooleanConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|