For XAML apps that use WinUI 3, XAML Window APIs provide a simpler way to customize the title bar, while still letting you access the AppWindow APIs when needed. Windowing functionality in WinUI 3 is through the Microsoft.UI.Xaml.Window class, which is also based on the Win32 HWND model. You can modify the default title bar that Windows provides so that it blends with the rest of your UI, or extend your app canvas into the title bar area and provide your own title bar content. AppWindow and its related classes provide APIs that let you manage many aspects of your app's top-level windows, including customization of the title bar. There's a 1:1 mapping between an AppWindow and a top-level HWND in your app. Windowing functionality in the Windows App SDK is through the Microsoft.UI.Windowing.AppWindow class, which is based on the Win32 HWND model.
This list describes the components of the standard title bar.