LayoutOptions LayoutOptions Struct

Definition

A struct whose static members define various alignment and expansion options.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.LayoutOptionsConverter))]
public struct LayoutOptions
type LayoutOptions = struct
Inheritance
LayoutOptionsLayoutOptions
Attributes

Constructors

LayoutOptions(LayoutAlignment, Boolean) LayoutOptions(LayoutAlignment, Boolean)

Creates a new LayoutOptions object with alignment and expands.

Fields

Center Center

A LayoutOptions structure that describes an element that is centered and does not expand.

CenterAndExpand CenterAndExpand

A LayoutOptions structure that describes an element that is centered and expands.

End End

A LayoutOptions structure that describes an element that appears at the end of its parent and does not expand.

EndAndExpand EndAndExpand

A LayoutOptions object that describes an element that appears at the end of its parent and expands.

Fill Fill

A LayoutOptions stucture that describes an element that has no padding around itself and does not expand.

FillAndExpand FillAndExpand

A LayoutOptions structure that describes an element that has no padding around itself and expands.

Start Start

A LayoutOptions structure that describes an element that appears at the start of its parent and does not expand.

StartAndExpand StartAndExpand

A LayoutOptions structure that describes an element that appears at the start of its parent and expands.

Properties

Alignment Alignment

Gets or sets a value that indicates how an element will be aligned.

Expands Expands

Gets or sets a value that indicates whether or not the element that is described by this LayoutOptions structure will occupy the largest space that its parent will give to it.

Applies to