Windows UI Library 2.2

07/15/2020

2 minutes to read





In this article

WinUI 2.2 is the latest official release of the Windows UI Library.

You can add WinUI packages to your app using the NuGet package manager: see Getting Started with the Windows UI Library for more information.

WinUI is an open source project hosted on GitHub. We welcome bug reports, feature requests and community code contributions in the Windows UI Library repo.

Microsoft.UI.Xaml 2.2 Version History

Windows UI Library 2.2 Official Release

AUGUST 2019

GitHub release page

NuGet package download

New Features

TabView

Description

The TabView control is a collection of tabs that each represents a new page or document in your app. TabView is useful when your app has several pages of content and the user expects to be able to add, close, and rearrange the tabs. The new Windows Terminal uses TabView to show multiple command line interfaces.

Documentation

https://docs.microsoft.com/uwp/api/microsoft.ui.xaml.controls.tabview?view=winui-2.2

Description

In NavigationView's minimal mode, the back button no longer disappears. When opening and closing the pane, users no longer need to move their cursor to click the hamburger button. This feature will work by default. You don't need to make any code changes to make this work.

b) NavigationView - No Auto Padding

Description

App developers can now reclaim all pixels within their app window when they use the NavigationView control and extend into the title bar area.

Documentation

https://docs.microsoft.com/windows/uwp/design/controls-and-patterns/navigationview#top-whitespace

Description

CornerRadius attribute was added. Default controls were updated to use slightly rounded corners. Developers can easily customize the corner radius to give your app a unique look if desired.

GitHub Spec Link

https://github.com/microsoft/microsoft-ui-xaml/issues/524

Description

BorderThickness property was made easier to customize. Default controls were updated to reduce the outlines to be thinner for a cleaner and familiar look.

GitHub Spec Link

https://github.com/microsoft/microsoft-ui-xaml/issues/835

Description:

Default Button's visual was updated to remove outline that appeared during hover to give it a cleaner look.

GitHub Spec Link:

https://github.com/microsoft/microsoft-ui-xaml/issues/953

Description:

Default SplitButton's visual was updated to make it more distinct from DropDownButton.

GitHub Spec Link:

https://github.com/microsoft/microsoft-ui-xaml/issues/986

Description:

Default ToggleSwitch's width was reduced from 44px to 40px so it is balanced visually while retaining usability.

GitHub Spec Link:

https://github.com/microsoft/microsoft-ui-xaml/issues/836

Description:

CheckBox and RadioButton visuals were updated to be consistent with the rest of the visual style change.

GitHub Spec Link:

https://github.com/microsoft/microsoft-ui-xaml/issues/839

Examples

The Xaml Controls Gallery sample app includes interactive demos and sample code for using WinUI controls.

Install the XAML Controls Gallery app from the Microsoft Store

The Xaml Controls Gallery is also open source on GitHub

Documentation

How-to articles for Windows UI Library controls are included with the Universal Windows Platform controls documentation.

API reference docs are located here: Windows UI Library APIs.

Microsoft.UI.Xaml 2.2 Version History

Microsoft.UI.Xaml 2.2.190702001-prerelease

July 2019

GitHub release page

NuGet package download

Experimental Feature

Microsoft.UI.Xaml 2.2.20190416001-prerelease

April 2019

GitHub release page

NuGet package download

Experimental features