AppWindowTitleBar.PreferredHeightOption Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies the height options of the title bar when the AppWindowTitleBar.ExtendsContentIntoTitleBar
property is 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
Property Value
A value of the enumeration that indicates the preferred height of the title bar. The default is Standard
.
Remarks
Check the Height property to get the new height value in client coordinates after setting this property.