Språk

FlexLayout.SetAlignSelf Metod

Definition

Överlagringar

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

Anger åsidosättning av självjustering för elementet i flexlayouten.

SetAlignSelf(IView, FlexAlignSelf)

Källa:
FlexLayout.cs
Källa:
FlexLayout.cs
Källa:
FlexLayout.cs
Källa:
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)

Parametrar

view
IView
alignSelf
FlexAlignSelf

Gäller för

SetAlignSelf(BindableObject, FlexAlignSelf)

Källa:
FlexLayout.cs
Källa:
FlexLayout.cs
Källa:
FlexLayout.cs
Källa:
FlexLayout.cs

Anger åsidosättning av självjustering för elementet i flexlayouten.

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)

Parametrar

bindable
BindableObject

Elementet som justeringen ska ställas in för.

value
FlexAlignSelf

Det självjusteringsvärde som ska anges.

Kommentarer

Följande bild visar effekten av FlexLayout.SetAlignSelf(c, FlexAlignSelf.Start); på en layout medAlignItems värdet Stretch:

Gäller för