FlexLayout.SetAlignSelf Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Description |
|---|---|
| SetAlignSelf(IView, FlexAlignSelf) | |
| SetAlignSelf(BindableObject, FlexAlignSelf) |
Define a substituição de auto-alinhamento para o elemento dentro do layout flex. |
SetAlignSelf(IView, FlexAlignSelf)
- Origem:
- FlexLayout.cs
- Origem:
- FlexLayout.cs
- Origem:
- FlexLayout.cs
- Origem:
- 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)
Parâmetros
- view
- IView
- alignSelf
- FlexAlignSelf
Aplica-se a
SetAlignSelf(BindableObject, FlexAlignSelf)
- Origem:
- FlexLayout.cs
- Origem:
- FlexLayout.cs
- Origem:
- FlexLayout.cs
- Origem:
- FlexLayout.cs
Define a substituição de auto-alinhamento para o elemento dentro do layout flex.
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)
Parâmetros
- bindable
- BindableObject
O elemento para o qual definir o alinhamento.
- value
- FlexAlignSelf
O valor de auto-alinhamento a ser definido.
Comentários
A imagem a seguir mostra o efeito de FlexLayout.SetAlignSelf(c, FlexAlignSelf.Start); um layout comAlignItems o valor de Stretch:
