Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
WinUI 2.5 is the December 2020 release of WinUI.
WinUI is hosted on GitHub where we encourage you to file bug reports.
WinUI Releases: GitHub release 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.
NuGet package download: Microsoft.UI.Xaml
New Features
InfoBar
The InfoBar control is used to display app-wide status messages that are highly visible to users, yet are also non-intrusive. The control includes a Severity property to indicate the type of message shown, and an option to specify your own call to action or hyperlink button. As the InfoBar is inline with other UI content, you can also specify whether the control is always visible or if it can be dismissed by the user.
This example shows an InfoBar in the default state with a close button and message.
This animated example shows an InfoBar with various severity states and custom messages.
Determinate ProgressRing
The determinate state for ProgressRing shows the percentage completed of a task. This should be used during an operation where the duration is known and where the operation's progress should not block user interaction with the app.
The following animated image demonstrates a determinate ProgressRing control.
NavigationView FooterMenuItems
Use the FooterMenuItems property of the NavigationView control to place navigation items at the end of the navigation pane (compared to the MenuItems property, which places items at the beginning of the pane).
The following image shows a NavigationView with Account, Your Cart, and Help navigation items in the footer menu.
Samples
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.