Share via


AppWindowTitleBar.PreferredHeightOption Property

Definition

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.

Applies to