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(Microsoft::Maui::Controls::LayoutAlignment alignment, bool expands);
public LayoutOptions (Microsoft.Maui.Controls.LayoutAlignment alignment, bool expands);
new Microsoft.Maui.Controls.LayoutOptions : Microsoft.Maui.Controls.LayoutAlignment * bool -> Microsoft.Maui.Controls.LayoutOptions
Public Sub New (alignment As LayoutAlignment, expands As Boolean)
Parameters
- alignment
- LayoutAlignment
An alignment value.
- expands
- Boolean
Whether or not an element will expand to fill available space in its parent.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.