Xamarin.Forms Guides | Samples

Xamarin.Forms.BoundsTypeConverter Class

A TypeConverter that converts strings into Rectangles for use with AbsoluteLayouts.

See Also: BoundsTypeConverter

Syntax

public class BoundsTypeConverter : 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.BoundsTypeConverter are listed below.

See Also: TypeConverter

Public Constructors

Creates a new BoundsTypeConverter with default values.

Public Methods

override
CanConvertFrom(Type) : Boolean
Returns a Boolean value that indicates whether this BoundsTypeConverter 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
Converts value into a Rectangle.