LayoutOptions 構造体

定義

静的メンバーによりさまざまな配置オプションと拡張オプションが定義される構造体。A struct whose static members define various alignment and expansion options.

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

コンストラクター

LayoutOptions(LayoutAlignment, Boolean)

alignmentexpands を使用して、新しい LayoutOptions オブジェクトを作成します。Creates a new LayoutOptions object with alignment and expands.

フィールド

Center

中央に置かれ、広がらない要素を表す LayoutOptions 構造体。A LayoutOptions structure that describes an element that is centered and does not expand.

CenterAndExpand

中央に置かれ、広がる要素を表す LayoutOptions 構造体。A LayoutOptions structure that describes an element that is centered and expands.

End

その親の終わりに現れ、広がらない要素を表す LayoutOptions 構造体。A LayoutOptions structure that describes an element that appears at the end of its parent and does not expand.

EndAndExpand

その親の終わりに現れ、広がる要素を表す LayoutOptions 構造体。A LayoutOptions object that describes an element that appears at the end of its parent and expands.

Fill

周囲を埋めず、広がらない要素を表す LayoutOptions 構造体。A LayoutOptions stucture that describes an element that has no padding around itself and does not expand.

FillAndExpand

周囲を埋めず、広がる要素を表す LayoutOptions 構造体。A LayoutOptions structure that describes an element that has no padding around itself and expands.

Start

その親の始まりに現れ、広がらない要素を表す LayoutOptions 構造体。A LayoutOptions structure that describes an element that appears at the start of its parent and does not expand.

StartAndExpand

その親の始まりに現れ、広がる要素を表す LayoutOptions 構造体。A LayoutOptions structure that describes an element that appears at the start of its parent and expands.

プロパティ

Alignment

要素の配置方法を示す値を取得または設定します。Gets or sets a value that indicates how an element will be aligned.

Expands

この LayoutOptions 構造体で表される要素により、その親が与える最大領域が占有されるかどうかを示す値を取得または設定します。Gets or sets a value that indicates whether or not the element that is described by this LayoutOptions structure will occupy the largest space that its parent will give to it.

適用対象