View.VerticalOptions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 , 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指派會修改元素在父版面配置中有超過可用空間時,如何配置元素。 如果配置內的多個元素設定為展開,則會按比例分配額外的空間。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應