BoolToObjectConverter<TObject> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts System.Boolean to object and vice versa.
public class BoolToObjectConverter<TObject> : Xamarin.CommunityToolkit.Extensions.Internals.ValueConverterExtension, Xamarin.Forms.IValueConverter
Type Parameters
- TObject
- Inheritance
- 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) |