AppWindow.TitleBar 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 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.