Class
NullToBooleanConverter

Converts a null value to a bool value. When the provided value is null, the converter returns true. When the provided value is not null, the converter returns false.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class NullToBooleanConverter : IValueConverter

Inheritance: objectNullToBooleanConverter

Implements: IValueConverter

Constructors

NullToBooleanConverter()

Declaration

cs-api-definition
public NullToBooleanConverter()

Methods

Convert(object, Type, object, CultureInfo)

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object

ConvertBack(object, Type, object, CultureInfo)

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object