Skip to content

Latest commit

 

History

History
 
 

Windowing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
page_type languages products name urlFragment description extendedZipContent
sample
csharp
cpp
windows
windows-app-sdk
Windowing gallery sample
windowing
Shows how to use the Windows App SDK windowing APIs
path target
LICENSE
LICENSE

Windowing gallery sample

These samples demonstrate how to use the AppWindow class to manage your application's window.

Limitations

Please note that customization of a window's TitleBar using the AppWindowTitleBar APIs is only supported on Windows 11 or later. This is illustrated in the sample by using the (IsCustomizationSupported)[https://docs.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindowtitlebar.iscustomizationsupported] method. Please see the Title bar customization article for more details.

Prerequisites

Building and running any of the samples

  • Open the solution file (.sln) from the subfolder of your preferred sample in Visual Studio.
  • From Visual Studio, either Start Without Debugging (Ctrl+F5) or Start Debugging (F5).

Related Links