Xamarin.Forms Guides | Samples

Xamarin.Forms.TypeConverterAttribute Class

Attribute that specifies the type of TypeConverter used by its target.

See Also: TypeConverterAttribute

Syntax

[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class TypeConverterAttribute : Attribute

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

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

See Also: Attribute

Public Constructors

Creates a new TypeConverterAttribute with default values.
Creates a new TypeConverterAttribute object that specifies that the class it decorates converts values to the typeName type.
reates a new TypeConverterAttribute object that specifies that the class it decorates converts values to type.

Public Fields

static readonly
DefaultTypeConverterAttribute. A TypeConverterAttribute that contains no information about the types to which the class that it decorates can convert values.

Public Properties

[read-only]
ConverterTypeNameString. The name of the type to which the class decorated with this attribute can convert values.

Public Methods

override
Equals(Object) : Boolean
Returns true if obj is a TypeConverterAttribute and has the same TypeConverterAttribute.ConverterTypeName value.
override
GetHashCode() : Int32
Returns a value that is used for efficient storage and lookup of this TypeConverterAttribute object.