TypeTypeConverter TypeTypeConverter Class

Definition

Class that takes a string representation of a Type and returns a corresponding Type.

[Xamarin.Forms.Xaml.TypeConversion(typeof(System.Type))]
public sealed class TypeTypeConverter : Xamarin.Forms.TypeConverter, Xamarin.Forms.IExtendedTypeConverter
type TypeTypeConverter = class
    inherit TypeConverter
    interface IExtendedTypeConverter
Inheritance
TypeTypeConverterTypeTypeConverter
Attributes
Implements

Constructors

TypeTypeConverter() TypeTypeConverter()

Creates a new TypeTypeConverter with default values.

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.

(Inherited from TypeConverter)
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.

(Inherited from TypeConverter)
ConvertFrom(Object) ConvertFrom(Object)

Calls Xamarin.Forms.TypeConverter.ConvertFrom(System.Globalization.CultureInfo, object) with the current culture information and o.

(Inherited from TypeConverter)
ConvertFromInvariantString(String) ConvertFromInvariantString(String)

Returns a type for a valid type name.

Explicit Interface Implementations

IExtendedTypeConverter.ConvertFrom(CultureInfo, Object, IServiceProvider) IExtendedTypeConverter.ConvertFrom(CultureInfo, Object, IServiceProvider)

For internal use only.

IExtendedTypeConverter.ConvertFromInvariantString(String, IServiceProvider) IExtendedTypeConverter.ConvertFromInvariantString(String, IServiceProvider)

For internal use only.

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