Share via


BoolToObjectConverter Class

Definition

Converts boolean to object and vice versa.

public class BoolToObjectConverter : Xamarin.CommunityToolkit.Converters.BoolToObjectConverter<object>
Inheritance
System.Object
BoolToObjectConverter<System.Object>
BoolToObjectConverter

Constructors

BoolToObjectConverter()

Properties

FalseObject

The object that corresponds to False value.

(Inherited from BoolToObjectConverter<TObject>)
TrueObject

The object that corresponds to True value.

(Inherited from BoolToObjectConverter<TObject>)

Methods

Convert(Object, Type, Object, CultureInfo)

Converts System.Boolean to object.

(Inherited from BoolToObjectConverter<TObject>)
ConvertBack(Object, Type, Object, CultureInfo)

Converts back object to System.Boolean.

(Inherited from BoolToObjectConverter<TObject>)
ProvideValue(IServiceProvider) (Inherited from ValueConverterExtension)

Explicit Interface Implementations

IMarkupExtension.ProvideValue(IServiceProvider) (Inherited from ValueConverterExtension)

Applies to