1
0
mirror of synced 2025-12-19 09:50:46 -05:00
Files
James Montemagno 215900a2bd .NET 10 Preview 5 (#9829)
* .NET 10 Preview 5

* update

* lint

* Add C# features in preview 5

Write the description for user defined compound assignment operators.

* Revert "Add C# features in preview 5"

This reverts commit 42e5ac6bff.

* Remove VB release notes for P5

There aren't notable new features in Visual Basic for Preview 5.

* Add notes about PQC

* Add PQC to the libraries ToC

* .NET 10 P5 - WinForms (#9919)

* winforms

* WinForms Preview 5

Preview 5 updates

* Fix duplicated intro

---------

Co-authored-by: Merrie McGaw <mmcgaw@microsoft.com>
Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>

* .NET 10 P5 - Containers (#9917)

* containers

* update for p5

* .NET 10 P5 - WPF (#9918)

* wpf

* Add notes

---------

Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>

* .NET 10 P5 Runtime (#9912)

* Update for Runtime

* Add JIT notes

* Fix GC notes

---------

Co-authored-by: Aman Khalid (from Dev Box) <amankhalid@microsoft.com>

* .NET 10 P5 - Languages (#9916)

* update csharp

* Add C# features in preview 5

Write the description for user defined compound assignment operators.

* Remove VB release notes for P5

There aren't notable new features in Visual Basic for Preview 5.

* Update fsharp.md

* Update fsharp.md

* Update fsharp.md

* add vb back just to link to docs

* update f#

* Update README.md

---------

Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>

* updates for lint

* update (#9915)

* update for sdk (#9914)

* some more updates

* .NET MAUI in 10 Preview 5 (#9921)

* .NET MAUI in 10 Preview 5

* Update dotnetmaui.md

* added contributors

* hybridwebview interception

* addressing comments

---------

Co-authored-by: James Montemagno <james.montemagno@gmail.com>

* linting

* Update release-notes/10.0/preview/preview5/README.md

Co-authored-by: Martin Costello <martin@martincostello.com>

* Update release-notes/10.0/preview/preview5/README.md

Co-authored-by: Martin Costello <martin@martincostello.com>

* Update ef and date

* updating md file

* Added updates to README

---------

Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Merrie McGaw <mmcgaw@microsoft.com>
Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>
Co-authored-by: Aman Khalid (from Dev Box) <amankhalid@microsoft.com>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
Co-authored-by: David Ortinau <david.ortinau@microsoft.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Co-authored-by: victorisr <victorisr@microsoft.com>
2025-06-10 09:57:27 -07:00

2.2 KiB

WPF in .NET 10 Preview 5 - Release Notes

Here's a summary of what's new in WPF in this preview release:

WPF updates in .NET 10:

XAML Grid Syntax Enhancements

This release introduces a new shorthand syntax for defining Grid.RowDefinitions and Grid.ColumnDefinitions in XAML, with full support for XAML Hot Reload.

Example:

<Grid RowDefinitions="Auto,*,Auto" ColumnDefinitions="*, Auto">
    <TextBlock Text="Row 0, Col 0" Grid.Row="0" Grid.Column="0" />
    <TextBlock Text="Row 1, Col 1" Grid.Row="1" Grid.Column="1" />
    <TextBlock Text="Row 2, Col 0" Grid.Row="2" Grid.Column="0" />
</Grid>

This shorthand allows you to specify row and column sizes directly in the RowDefinitions and ColumnDefinitions attributes, making XAML more concise and readable.

Font and Globalization Updates

The simsun-extg font has been added to improve character rendering, especially for East Asian languages.

Fluent Theme Improvements

Resolved crashes in the Fluent theme related to the TextBox control. Enhanced styling for SelectionBrush and Thumb controls, and improved visual accuracy by correcting the Expander arrow direction in right-to-left (RTL) layouts.

Performance and Code Quality Improvements

This release includes several improvements to performance and code quality:

  • Reduced memory allocations by replacing boxed collections such as ArrayList, Hashtable, and IList with more efficient alternatives like arrays and generic collections.
  • Optimized internal logic by refining parsing routines and removing unused fields in utilities such as DpiHelper and XamlSchema.
  • Eliminated the static constructor from KnownColors to improve runtime performance.
  • Removed legacy or unused code, including the ReflectionHelper for WinRT.