TitleBarHeightOption Enum

Definition

Defines constants that specify the preferred height of an app window title bar.

public enum class TitleBarHeightOption
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65537)]
enum class TitleBarHeightOption
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65537)]
public enum TitleBarHeightOption
var value = Microsoft.UI.Windowing.TitleBarHeightOption.standard
Public Enum TitleBarHeightOption
Inheritance
TitleBarHeightOption
Attributes

Fields

Name Value Description
Standard 0

Caption buttons and the default drag region are rendered at the standard height based on system metrics.

Tall 1

Caption buttons and the default drag region are rendered taller than the standard height based on system metrics.

Collapsed 2

Remarks

This enumeration provides values for the AppWindowTitleBar.PreferredHeightOption property.

Applies to

See also