Edit

Share via


WinUI 2.7

WinUI 2.7 is the September 2021 release of WinUI for UWP applications (and desktop applications using XAML Islands).

Note

For more information on building Windows desktop and UWP apps with the latest version of WinUI 3, see WinUI 3.

WinUI is hosted on GitHub where we encourage you to file bug reports.

All stable releases (and prereleases) are available for download from our GitHub release page or from our NuGet page.

WinUI packages can be added to Visual Studio projects through the NuGet package manager. For more information, see Get started with WinUI 2 for UWP.

New or updated features for WinUI 2.7 include:

InfoBadge

Badging is a non-intrusive and intuitive way to indicate notifications, display alerts, highlight new content, or draw focus to an area within an app. An InfoBadge is a small piece of UI that can be added into an app and customized to display a number, icon, or a simple dot.

Dot, icon, and numeric InfoBadges

InfoBadge is built into the NavigationView control. It can also be specified as a standalone element in the XAML tree, letting you place InfoBadge into any control or piece of UI that you choose.

Example of an InfoBadge in NavigationView.

Usage guidelines

API reference

Horizontal Orientation in ColorPicker

Use the Orientation property of the ColorPicker control to specify whether the editing controls should align vertically or horizontally, relative to the color spectrum.

Example of a horizontally aligned ColorPicker.

Usage guidelines

API reference

Examples

Tip

For more info, design guidance, and code examples, see Design for Windows apps.

The WinUI 2 Gallery app includes interactive examples of most WinUI 2 controls, features, and functionality.

If the gallery app is installed already, click WinUI 2 Gallery to open it.

If it's not installed, download the WinUI 2 Gallery from the Microsoft Store.

You can also get the source code from GitHub (select the winui2 branch).

Other updates

  • See our Notable Changes list for many of the GitHub issues addressed in this release.