FlexLayout.SetAlignSelf(BindableObject, FlexAlignSelf) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定值,選擇性覆寫此子項目的父項目項目對齊方式。
public static void SetAlignSelf(Xamarin.Forms.BindableObject bindable, Xamarin.Forms.FlexAlignSelf value);
static member SetAlignSelf : Xamarin.Forms.BindableObject * Xamarin.Forms.FlexAlignSelf -> unit
參數
- bindable
- BindableObject
要為其擷取屬性值的物件。
- value
- FlexAlignSelf
新的自我對齊值。
備註
下圖顯示 的值在版AlignItemsStretch面配置上的效果FlexLayout.SetAlignSelf(c, FlexAlignSelf.Start);:
