語言

AppWindowTitleBar.PreferredHeightOption 屬性

定義

取得或設定一個值,當屬性 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 屬性以獲得客戶端座標中的新高度值。

適用於