Share via


TypeConverter Class

Definition

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

public abstract class TypeConverter
type TypeConverter = class
Inheritance
System.Object
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)
Obsolete.

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)
Obsolete.

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

ConvertFromInvariantString(String)

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

Applies to