ReleaseMicrosoftMicrosoftpublished May 21, 2026seen 5d

microsoft/microsoft-ui-xaml winui3/release/2.1.3

microsoft/microsoft-ui-xaml

Open original ↗

Captured source

source ↗
published May 21, 2026seen 5dcaptured 10hhttp 200method plain

WinUI 3 in WinAppSDK 2.1.3

Repository: microsoft/microsoft-ui-xaml

Tag: winui3/release/2.1.3

Published: 2026-05-21T23:31:33Z

Prerelease: no

Release notes:

WinUI 3 in Windows App SDK 2.1.3

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

What's new in WinUI 3:

  • TitleBar custom drag regions. TitleBar now recursively walks TitleBar.Content and automatically excludes interactive controls from the drag region while keeping empty gaps draggable by default. Three new APIs (TitleBar.IsDragRegion attached property, TitleBar.AutoRefreshDragRegions, and TitleBar.RecomputeDragRegions()) give developers explicit control when the default behavior isn't sufficient. See PR microsoft/microsoft-ui-xaml#10936 and tracking issue microsoft/microsoft-ui-xaml#10421.

Bug fixes:

  • Fixed a memory leak in ItemsRepeater where recycled elements were never garbage collected due to a reference cycle through the RecyclePool, which could also cause crashes in InvalidateChildrenMeasure.
  • Fixed a crash where an implicit Show/Hide animation completion callback could access a destroyed CUIElement, causing an access violation.
  • Fixed an issue where windowed popup content opened in a XAML Island did not respect OverrideScale, causing content to appear oversized and clipped. See GitHub issue microsoft/microsoft-ui-xaml#11000.
  • Fixed an integer divide-by-zero crash in UniformGridLayout::GetMajorSize when an ItemsRepeater is laid out in an available width narrower than one item's minor stride.
  • Fixed a fail-fast crash caused by re-entrant dispatch during cross-apartment COM release operations in UIAffinityReleaseQueue::DoCleanup.
  • Fixed ambiguous module lookup when multiple modules with the same name are loaded in the same process. GetModuleHandleW has been replaced with GetModuleHandleExW so the correct module is resolved by address.
  • Fixed an issue where XAML compiler errors were silently lost when using dotnet build, showing only MSB3073: exited with code 1 instead of the actual error messages. See GitHub issue microsoft/microsoft-ui-xaml#9813.

For the full set of changes across Windows App SDK 2.1.3, see the [Windows App SDK 2.1.3 release notes](https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/release-notes/windows-app-sdk-2-0?pivots=stable#version-213-213).

Try it out

Notability

notability 3.0/10

Routine software release, not AI-related