FlexLayout.SetAlignSelf Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| SetAlignSelf(IView, FlexAlignSelf) | |
| SetAlignSelf(BindableObject, FlexAlignSelf) |
Define o override de auto-alinhamento para o elemento dentro do layout flexível. |
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 o override de auto-alinhamento para o elemento dentro do layout flexível.
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 definir o alinhamento.
- value
- FlexAlignSelf
O valor de auto-alinhamento para definir.
Observações
A imagem seguinte mostra o efeito de FlexLayout.SetAlignSelf(c, FlexAlignSelf.Start); num layout comAlignItems valor de Stretch:
