.NET 11 Preview 5 does not introduce new Windows Forms feature additions. The notable user-facing changes in this preview are regression fixes for clipboard, ToolStrip, layout, designer, and dark mode scenarios.
- System.Windows.Forms.Clipboard
Clipboard.GetText(TextDataFormat.Rtf)now reads RTF clipboard data that doesn't include a null terminator. This fixes valid RTF content copied by applications such as PowerPoint returning an empty string (dotnet/winforms #14461).
- System.Windows.Forms.ToolStrip
ToolStripcontrols withTabStop=trueno longer activate menu handling after tab navigation in a way that prevents controls such asTreeViewfrom receiving arrow keys (dotnet/winforms #14491).ToolStripDropDownMenuscrolling now handles menu boundaries without out-of-range scrolling or unintentionally dismissing the dropdown (dotnet/winforms #14490).ToolStripDPI changes now preserve the previous device DPI during the DPI change path, so scaling logic can run when moving controls between displays with different DPI settings (dotnet/winforms #14454).
- System.Windows.Forms.Layout
AnchorLayoutV2now initializes missing anchor metadata when anchored controls are replaced during a suspended layout pass (dotnet/winforms #14505).
- System.Windows.Forms.Design
- Hosted WinForms designers can paste controls through
CommandSet.OnMenuPasteagain (dotnet/winforms #14403). - Collection editor captions for custom controls now use the underlying control
type instead of the generated
ControlProxy<T>wrapper name (dotnet/winforms #14375).
- Hosted WinForms designers can paste controls through
- System.Windows.Forms.PropertyGrid
PropertyGrid.SelectedTabnow updates correctly whenSelectedObjectis assigned (dotnet/winforms #14438).
- System.Windows.Forms.ProgressBar
ProgressBarnow has default foreground and background colors for dark mode rendering (dotnet/winforms #14339).