Share via


LayoutOptions(LayoutAlignment, Boolean) Constructor

Definition

Creates a new LayoutOptions object with alignment and expands.

public LayoutOptions (Xamarin.Forms.LayoutAlignment alignment, bool expands);
new Xamarin.Forms.LayoutOptions : Xamarin.Forms.LayoutAlignment * bool -> Xamarin.Forms.LayoutOptions

Parameters

alignment
LayoutAlignment

An alignment value.

expands
System.Boolean

Whether or not an element will expand to fill available space in its parent.

Applies to