Share via


AppWindow.TitleBar Property

Definition

Gets the title bar of the app window.

public:
 property AppWindowTitleBar ^ TitleBar { AppWindowTitleBar ^ get(); };
AppWindowTitleBar TitleBar();
public AppWindowTitleBar TitleBar { get; }
var appWindowTitleBar = appWindow.titleBar;
Public ReadOnly Property TitleBar As AppWindowTitleBar

Property Value

The title bar of the app window.

Remarks

Important

Title bar customization APIs are partially supported on Windows 10 since Windows App SDK 1.2 and fully supported on Windows 11. You should check AppWindowTitleBar.IsCustomizationSupported in your code before you call these APIs to ensure your app doesn't crash on other versions of Windows. See Title bar customization for more info.

Applies to

See also