AppWindowTitleBar.PreferredHeightOption 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,當屬性 AppWindowTitleBar.ExtendsContentIntoTitleBar 為 true時,指定標題欄的高度選項。
public:
property TitleBarHeightOption PreferredHeightOption { TitleBarHeightOption get(); void set(TitleBarHeightOption value); };
TitleBarHeightOption PreferredHeightOption();
void PreferredHeightOption(TitleBarHeightOption value);
public TitleBarHeightOption PreferredHeightOption { get; set; }
var titleBarHeightOption = appWindowTitleBar.preferredHeightOption;
appWindowTitleBar.preferredHeightOption = titleBarHeightOption;
Public Property PreferredHeightOption As TitleBarHeightOption
屬性值
列舉的值,表示標題欄的優先高度。 預設值為 Standard。
備註
在設定 Height 屬性後,檢查 Height 屬性以獲得客戶端座標中的新高度值。