Langue

FlexLayout.SetAlignSelf Méthode

Définition

Surcharges

Nom Description
SetAlignSelf(IView, FlexAlignSelf)
SetAlignSelf(BindableObject, FlexAlignSelf)

Définit le remplacement d’alignement automatique de l’élément dans la disposition flexible.

SetAlignSelf(IView, FlexAlignSelf)

Source:
FlexLayout.cs
Source:
FlexLayout.cs
Source:
FlexLayout.cs
Source:
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)

Paramètres

view
IView
alignSelf
FlexAlignSelf

S’applique à

SetAlignSelf(BindableObject, FlexAlignSelf)

Source:
FlexLayout.cs
Source:
FlexLayout.cs
Source:
FlexLayout.cs
Source:
FlexLayout.cs

Définit le remplacement d’alignement automatique de l’élément dans la disposition flexible.

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)

Paramètres

bindable
BindableObject

Élément pour lequel définir l’alignement.

value
FlexAlignSelf

Valeur d’alignement automatique à définir.

Remarques

L’image suivante montre l’effet d’une FlexLayout.SetAlignSelf(c, FlexAlignSelf.Start); disposition avecAlignItems la valeur suivante Stretch:

S’applique à