Xamarin.Forms Guides | Samples

Xamarin.Forms.RectangleTypeConverter Class

A TypeConverter that converts a string to a Rectangle.

See Also: RectangleTypeConverter

Syntax

public class RectangleTypeConverter : TypeConverter

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.RectangleTypeConverter are listed below.

See Also: TypeConverter

Public Constructors

Creates a new RectangleTypeConverter with default values.

Public Methods

override
CanConvertFrom(Type) : Boolean
Returns a Boolean value that indicates whether this RectangleTypeConverter can convert the sourceType to a Rectangle instance.
override
ConvertFrom(CultureInfo, Object) : Object
Converts value into a Rectangle by using the specified culture.
override
ConvertFromInvariantString(String) : Object
Returns a Rectangle for a comma-separated list of double values.