Xamarin.Forms Guides | Samples

Xamarin.Forms.LayoutOptionsConverter Class

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

See Also: LayoutOptionsConverter

Syntax

public sealed class LayoutOptionsConverter : TypeConverter

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.LayoutOptionsConverter are listed below.

See Also: TypeConverter

Public Constructors

Creates a new LayoutOptions with default values.

Public Methods

override
CanConvertFrom(Type) : Boolean
Returns true if the converter can create and return a LayoutOptions for items of the specified source type. Otherwise, false.
override
ConvertFrom(CultureInfo, Object) : Object
Creates and returns a LayoutOptions for the specified value and culture.
override
ConvertFromInvariantString(String) : Object
Returns a LayoutOptions for a valid layout options string.