What's new in WPF for .NET 10 Preview
This article describes what's new in Windows Presentation Foundation (WPF) for .NET 10 Preview.
.NET 10 Preview 2 was released on March 18, 2025.
Release announcements
Performance improvements
Performance was improved by replacing internal data structures with base .NET types, such as ReadOnlyCollection<T>. This minimized allocations in UI automation and file dialogs, and speeding up pixel format conversions.
Fluent style changes
Various bug fixes have been addressed in .NET 10, to improve the Fluent UI style support in WPF. Fluent UI style support is still in progress.
Bug fixes
Addressed various bug fixes including UI element cursor types, crash issues when bitmap streams are null, build and test step errors, and minor bugs in BitmapMetadata and native dependencies.
Addressed localization issues for ScrollViewer and ContextMenu.
Over 4,000 unit tests for System.Xaml
and WindowsBase
added.
Code cleanup
Moving out of .NET Framework left behind unused Code Access Security (CAS) related attributes and code. Many of these have been removed in the .NET codebase.
- Remove unused CAS resource strings and its translations from all libraries.
- Remove unused CAS and XBAP code from
OleCmdHelper/ISecureCommand
. - Remove unused CAS code from
FontSourceCollection/FontSource
.
.NET Desktop feedback