TypeConverter Class

Definition

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

public abstract class TypeConverter
type TypeConverter = class
Inheritance
TypeConverter
Derived

Constructors

TypeConverter()

Creates a new TypeConverter object.

Methods

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(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.

ConvertFrom(Object)

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

ConvertFromInvariantString(String)

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

Applies to