Skip to content

WinUI 3 in WinAppSDK 2.2.0

Latest

Choose a tag to compare

@agniuks agniuks released this 10 Jun 00:05
· 355 commits to main since this release

WinUI 3 in Windows App SDK 2.2.0

This release of WinUI 3 ships as part of Windows App SDK 2.2.0. To use it in your app, install the Microsoft.WindowsAppSDK 2.2.0 NuGet package.

What's new in WinUI 3:

  • New XamlBindingHelper boxing-free setter overloads. New SetPropertyFromThickness, SetPropertyFromCornerRadius, and SetPropertyFromColor overloads on XamlBindingHelper let {x:Bind} set value-type properties without boxing. The Setter.ValueProperty dependency property is also now exposed.

Bug fixes:

  • Fixed a crash in RenderTargetBitmap when the target element leaves the visual tree (for example, a popup closes) before PreCommit completes. RenderAsync now returns E_ABORT instead of crashing.
  • Fixed a use-after-free crash in ScrollView when the control is destroyed while its hide-indicators timer tick is still pending. See microsoft/microsoft-ui-xaml#10514.
  • Fixed a potential crash in Microsoft.UI.Xaml.dll!DirectUI::DXamlCore::GetPeerPrivate caused by attempting to access an object scheduled to be freed.
  • Fixed an issue where Microsoft.UI.System.ThemeSettings could crash an app if it was destroyed on a background thread (for example, when destroyed by the .NET garbage collector).
  • Fixed a crash that could occur on certain devices when active touch contacts were canceled by input hardware, such as when pen input overrides them.

For the full set of changes across Windows App SDK 2.2.0, see the Windows App SDK 2.2.0 release notes.

Try it out