Freigeben über


LayoutOptionsConverter Class

Definition

Class that takes a string representation of a LayoutOptions and returns a corresponding LayoutOptions.

[Xamarin.Forms.Xaml.TypeConversion(typeof(Xamarin.Forms.LayoutOptions))]
public sealed class LayoutOptionsConverter : Xamarin.Forms.TypeConverter
type LayoutOptionsConverter = class
    inherit TypeConverter
Inheritance
System.Object
LayoutOptionsConverter
Attributes

Constructors

LayoutOptionsConverter()

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

Returns a LayoutOptions for a valid layout options string.

Applies to