View.VerticalOptions プロパティ

定義

要素が LayoutOptions レイアウト サイクルでどのようにレイアウトされるかを定義する を取得または設定します。 これはバインド可能なプロパティです。

public:
 property Microsoft::Maui::Controls::LayoutOptions VerticalOptions { Microsoft::Maui::Controls::LayoutOptions get(); void set(Microsoft::Maui::Controls::LayoutOptions value); };
public Microsoft.Maui.Controls.LayoutOptions VerticalOptions { get; set; }
member this.VerticalOptions : Microsoft.Maui.Controls.LayoutOptions with get, set
Public Property VerticalOptions As LayoutOptions

プロパティ値

LayoutOptions要素をレイアウトする方法を定義する 。 既定値は、特に記載されていない限りです Fill

注釈

VerticalOptionsを割り当てると、親レイアウトから Y 軸に沿って余分な空き領域がある場合に要素がどのようにレイアウトされるかが変更されます。 レイアウト内の複数の要素が展開するように設定されている場合、余分なスペースは比例して分散されます。

適用対象