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
LayoutOptions
Attributes

Constructors

LayoutOptions(LayoutAlignment, Boolean)

Creates a new LayoutOptions object with alignment and expands.

Fields

Center

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

CenterAndExpand

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

End

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

EndAndExpand

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

Fill

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

FillAndExpand

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

Start

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

StartAndExpand

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

Properties

Alignment

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

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