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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.