RectangleTypeConverter Class

Definition

A TypeConverter that converts a string to a Rectangle.

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

Constructors

RectangleTypeConverter()

Creates a new RectangleTypeConverter 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)

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)

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

(Inherited from TypeConverter)
ConvertFromInvariantString(String)

Returns a Rectangle for a comma-separated list of double values.

Applies to