FlexLayout.SetAlignSelf(BindableObject, FlexAlignSelf) Method

Definition

Sets a value that optionally overrides the parent element's item aliginment for this child element.

public static void SetAlignSelf (Xamarin.Forms.BindableObject bindable, Xamarin.Forms.FlexAlignSelf value);
static member SetAlignSelf : Xamarin.Forms.BindableObject * Xamarin.Forms.FlexAlignSelf -> unit

Parameters

bindable
BindableObject

The object for which to retrieve the property value.

value
FlexAlignSelf

The new self-alignment value.

Remarks

The following image shows the effect of FlexLayout.SetAlignSelf(c, FlexAlignSelf.Start); on a layout withAlignItems value of Stretch:

Applies to