TypeConverter TypeConverter Class

Definition

Abstract base class whose subclasses can convert values between different types.

public abstract class TypeConverter
type TypeConverter = class
Inheritance
TypeConverterTypeConverter
Derived

Constructors

TypeConverter() TypeConverter()

Creates a new TypeConverter object.

Methods

CanConvertFrom(Type) CanConvertFrom(Type)

When implemented in a derived class, returns a Boolean value that indicates whether or not the derived type converter can convert sourceType to its target type.

ConvertFrom(Object) ConvertFrom(Object)

Calls ConvertFrom(CultureInfo, Object) with the current culture information and o.

ConvertFrom(CultureInfo, Object) ConvertFrom(CultureInfo, Object)

When implemented in a derived class, converts an object that is a version of value and that can be cast to the target type.

ConvertFromInvariantString(String) ConvertFromInvariantString(String)

When overriden in a derived class, converts XAML extension syntax into instances of various Xamarin.Forms types.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to