Class
InvertedNullOrEmptyToBoolConverter

Converts a non-null or empty value to a bool value. When the provided value is not null and not empty, the converter returns true. When the provided value is null or empty, the converter returns false.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class InvertedNullOrEmptyToBoolConverter : IValueConverter

Inheritance: objectInvertedNullOrEmptyToBoolConverter

Implements: IValueConverter

Constructors

InvertedNullOrEmptyToBoolConverter()

Declaration

cs-api-definition
public InvertedNullOrEmptyToBoolConverter()

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