Xamarin.Forms Guides | Samples

Xamarin.Forms.TypeConverter Class

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

See Also: TypeConverter


public abstract class TypeConverter


The following diagram shows subclasses of TypeConverter.


Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:,,,,,,

The members of Xamarin.Forms.TypeConverter are listed below.

See Also: Object

Protected Constructors

Creates a new TypeConverter object.

Public Methods

CanConvertFrom(Type) : Boolean
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) : Object
Calls TypeConverter.ConvertFrom(CultureInfo,object) with the current culture information and o.
ConvertFrom(CultureInfo, Object) : 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) : Object
When overriden in a derived class, converts XAML extension syntax into instances of various Xamarin.Forms types.