LayoutOptions 結構

定義

結構,其靜態成員會定義各種對齊和展開選項。

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.LayoutOptionsConverter))]
public struct LayoutOptions
type LayoutOptions = struct
繼承
LayoutOptions
屬性

建構函式

LayoutOptions(LayoutAlignment, Boolean)

使用 alignmentexpands,建立新的 LayoutOptions 物件。

欄位

Center

LayoutOptions 結構,描述位於中央且不會展開的項目。

CenterAndExpand

LayoutOptions 結構,描述位於中央且會展開的項目。

End

LayoutOptions 結構,描述出現在父代結尾且不會展開的項目。

EndAndExpand

LayoutOptions 物件,描述出現在父代結尾且會展開的項目。

Fill

LayoutOptions 結構,描述周圍沒有填補且不會展開的項目。

FillAndExpand

LayoutOptions 結構,描述周圍沒有填補且會展開的項目。

Start

LayoutOptions 結構,描述出現在父代開頭且不會展開的項目。

StartAndExpand

LayoutOptions 結構,描述出現在父代開頭且會展開的項目。

屬性

Alignment

取得或設定值,指出項目的對齊方式。

Expands

取得或設定值,指出此 LayoutOptions 結構所述項目是否會佔用其父代將提供給它的最大空間。

適用於