Class
InvertedBooleanConverter

Represents a custom IValueConverter that converts a Boolean value to its opposite value.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class InvertedBooleanConverter : IValueConverter

Inheritance: objectInvertedBooleanConverter

Implements: IValueConverter

Constructors

InvertedBooleanConverter()

Declaration

cs-api-definition
public InvertedBooleanConverter()

Properties

Instance

Gets the singleton instance of the InvertedBooleanConverter.

Declaration

cs-api-definition
public static IValueConverter Instance { get; }

Property Value

IValueConverter

Methods

Convert(object, Type, object, CultureInfo)

Converts a Boolean value to its opposite value.

Declaration

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

Parameters

value

object

type

Type

parameter

object

culture

CultureInfo

Returns

object

ConvertBack(object, Type, object, CultureInfo)

Converts a Boolean value to its opposite value.

Declaration

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

Parameters

value

object

type

Type

parameter

object

culture

CultureInfo

Returns

object