BoundsTypeConverter Class

Definition

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

[Xamarin.Forms.Xaml.TypeConversion(typeof(Xamarin.Forms.Rectangle))]
public sealed class BoundsTypeConverter : Xamarin.Forms.TypeConverter
type BoundsTypeConverter = class
    inherit TypeConverter
Inheritance
BoundsTypeConverter
Attributes

Constructors

BoundsTypeConverter()

Creates a new BoundsTypeConverter with default values.

Methods

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)
Obsolete.

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)
Obsolete.

Calls ConvertFrom(CultureInfo, Object) with the current culture information and o.

(Inherited from TypeConverter)
ConvertFromInvariantString(String)

Converts value into a Rectangle.

Applies to