Compartir a través de


LayoutOptions(LayoutAlignment, Boolean) Constructor

Definición

Crea un objeto LayoutOptions con alignment y 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)

Parámetros

alignment
LayoutAlignment

Valor de alineación.

expands
Boolean

Si un elemento se expandirá o no para rellenar el espacio disponible en su elemento primario.

Se aplica a