microsoft/microsoft-ui-xaml winui3/release/2.1.3
microsoft/microsoft-ui-xaml
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.
TitleBarnow recursively walksTitleBar.Contentand automatically excludes interactive controls from the drag region while keeping empty gaps draggable by default. Three new APIs (TitleBar.IsDragRegionattached property,TitleBar.AutoRefreshDragRegions, andTitleBar.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
ItemsRepeaterwhere recycled elements were never garbage collected due to a reference cycle through theRecyclePool, which could also cause crashes inInvalidateChildrenMeasure. - 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::GetMajorSizewhen anItemsRepeateris 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.
GetModuleHandleWhas been replaced withGetModuleHandleExWso the correct module is resolved by address. - Fixed an issue where XAML compiler errors were silently lost when using
dotnet build, showing onlyMSB3073: exited with code 1instead 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
- Install the Microsoft.WindowsAppSDK 2.1.3 NuGet package.
- Download and update the WinUI Gallery to see the WinUI 3 updates firsthand.
Notability
notability 3.0/10Routine software release, not AI-related