LayoutOptions(LayoutAlignment, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.