Windows UI Library 2.2

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

1) TabView

Example

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/en-us/uwp/api/microsoft.ui.xaml.controls.tabview?view=winui-2.2

2) NavigationView Updates

a) NavigationView's Back Button update

Example

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

Example

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/en-us/windows/uwp/design/controls-and-patterns/navigationview#top-whitespace

3) Visual Style Updates

a) Corner Radius Update

Example

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.

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

b) Border Thickness Update

Example

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.

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

c) Button Visual Update

Example

Description:

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

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

d) SplitButton Visual Update

Example

Description:

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

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

e) ToggleSwitch Visual Update

Example

Description:

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

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

f) CheckBox and RadioButton Visual Update

Example

Description:

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

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

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