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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.