Share via


BoolToObjectConverter<TObject> Class

Definition

Converts System.Boolean to object and vice versa.

public class BoolToObjectConverter<TObject> : Xamarin.CommunityToolkit.Extensions.Internals.ValueConverterExtension, Xamarin.Forms.IValueConverter

Type Parameters

TObject
Inheritance
System.Object
BoolToObjectConverter<TObject>
Derived
Implements

Constructors

BoolToObjectConverter<TObject>()

Properties

FalseObject

The object that corresponds to False value.

TrueObject

The object that corresponds to True value.

Methods

Convert(Object, Type, Object, CultureInfo)

Converts System.Boolean to object.

ConvertBack(Object, Type, Object, CultureInfo)

Converts back object to System.Boolean.

ProvideValue(IServiceProvider) (Inherited from ValueConverterExtension)

Explicit Interface Implementations

IMarkupExtension.ProvideValue(IServiceProvider) (Inherited from ValueConverterExtension)

Applies to