ערוך

שתף באמצעות


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, feature requests and community code contributions.

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 Getting started with WinUI 2.

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 and code Windows apps.

The WinUI 3 Gallery and WinUI 2 Gallery apps include interactive examples of most WinUI 3 and WinUI 2 controls, features, and functionality.

If installed already, open them by clicking the following links: WinUI 3 Gallery or WinUI 2 Gallery.

If they are not installed, you can download the WinUI 3 Gallery and the WinUI 2 Gallery from the Microsoft Store.

You can also get the source code for both from GitHub (use the main branch for WinUI 3 and the winui2 branch for WinUI 2).

Other updates

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