Here's a summary of what's new in WPF in this preview release:
WPF updates in .NET 10:
- What's new in WPF in .NET 10 documentation.
Enhanced performance by replacing data structures and optimizing method operations, including a shift from PartialList to ReadOnlyCollection, minimizing allocations in UI automation and file dialogs, and speeding up pixel format conversions.
Various bug fixes have been addressed in .NET 10 Preview 2, to improve the Fluent UI style support in WPF.
- Default style for
Label. - Fixed the animation for
Expanderby adjusting aKeyTimevalue.
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. Other fixes include:
- Updated text pointer normalization.
- Fixed localization issues for
ScrollViewerandContextMenu.
- Updated and synchronized MilCodeGen across multiple WPF components and disabled code analysis for generated code to streamline builds.
- Removed deprecated .NET runtime and unnecessary package references, and conducted style cleanups to address warnings and improve code quality.