Condividi tramite


FlexLayout.SetAlignSelf Metodo

Definizione

Overload

Nome Descrizione
SetAlignSelf(IView, FlexAlignSelf)
SetAlignSelf(BindableObject, FlexAlignSelf)

Imposta l'override dell'allineamento automatico per l'elemento all'interno del layout flessibile.

SetAlignSelf(IView, FlexAlignSelf)

Origine:
FlexLayout.cs
Origine:
FlexLayout.cs
Origine:
FlexLayout.cs
Origine:
FlexLayout.cs
public:
 void SetAlignSelf(Microsoft::Maui::IView ^ view, Microsoft::Maui::Layouts::FlexAlignSelf alignSelf);
public void SetAlignSelf(Microsoft.Maui.IView view, Microsoft.Maui.Layouts.FlexAlignSelf alignSelf);
member this.SetAlignSelf : Microsoft.Maui.IView * Microsoft.Maui.Layouts.FlexAlignSelf -> unit
Public Sub SetAlignSelf (view As IView, alignSelf As FlexAlignSelf)

Parametri

view
IView
alignSelf
FlexAlignSelf

Si applica a

SetAlignSelf(BindableObject, FlexAlignSelf)

Origine:
FlexLayout.cs
Origine:
FlexLayout.cs
Origine:
FlexLayout.cs
Origine:
FlexLayout.cs

Imposta l'override dell'allineamento automatico per l'elemento all'interno del layout flessibile.

public:
 static void SetAlignSelf(Microsoft::Maui::Controls::BindableObject ^ bindable, Microsoft::Maui::Layouts::FlexAlignSelf value);
public static void SetAlignSelf(Microsoft.Maui.Controls.BindableObject bindable, Microsoft.Maui.Layouts.FlexAlignSelf value);
static member SetAlignSelf : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Layouts.FlexAlignSelf -> unit
Public Shared Sub SetAlignSelf (bindable As BindableObject, value As FlexAlignSelf)

Parametri

bindable
BindableObject

Elemento per cui impostare l'allineamento.

value
FlexAlignSelf

Valore di allineamento automatico da impostare.

Commenti

L'immagine seguente mostra l'effetto di FlexLayout.SetAlignSelf(c, FlexAlignSelf.Start); su un layout conAlignItems valore di Stretch:

Si applica a