Accompanying Sample App for WinAppSDK
This app demonstrates all of the WinUI 3 controls and styles available to make a modern Windows app with the Windows App SDK. It is the interactive companion to the Fluent Design Guidelines and shows the usage of the WinUI APIs.
- WinUI Controls Samples: Each control page shows the markup and codebehind used to create each example.
- Use the Microsoft.UI.Xaml (WinUI) Library: The app includes the latest WinUI NuGet package and shows how to use the WinUI controls like NavigationView, SwipeControl, and more.
- Basic Layout: This sample will show all of the possible layout options for your app and allow you to interact with the panels to show how to achieve any layout you are looking for.
- Adaptive UI: In addition to showing how each control responds to different form factors, the app itself is responsive and shows various methods for achieving adaptive UI.
- Design & Accessibility Guidance: Design and accessibility pages help make the gallery a useful developer companion app.
- Version Adaptive Code: This sample shows how to write version adaptive code so that the app can run on previous versions of Windows while also using the latest capabilities on the most recent verison of Windows.
Any samples or docs improvements you'd like to see? We're always looking for a helping hand. Feel free to file an issue to start the discussion, or even better, create a PR with the change you'd like to see!
Check out these help wanted issues if you don't know where to start.
You can also learn more about current happenings with WinUI Gallery in the project board.
Quick start guide to building WinUI 3 Gallery locally:
Note: The WinUI 3 Gallery requires Visual Studio 2022 or later to build and Windows 10 or later to execute. If you're building an app with the Windows App SDK for the first time, follow the installation instructions here.
Required Visual Studio components:
- .NET Desktop Development.
- Windows App SDK C# Templates
- Windows 10 SDK (10.0.19041.0)
git clone https://github.com/microsoft/WinUI-Gallery.git
.\WinUIGallery\WinUIGallery.DesktopWap.sln
Make sure to select WinUIGallery.DesktopWap.Package
for startup project in Visual Studio.
To obtain information about Windows 11 development, go to the Windows Dev Center
To contact the authors, please reach out to ControlsGallery@microsoft.com
Get started with building WinUI apps
WinUI
Template Studio for WinUI
RSS reader sample
Lunch Scheduler app sample
Customers Orders Database sample
Thanks to our amazing contributors!
Made with contrib.rocks.