FlexLayout.SetAlignSelf Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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:
