Skip to content

Commit ef783a7

Browse files
jamesmontemagnomerriemcgawKlausLoeffelmann
authored
.NET 10 P6 - WinForms (#9951)
* Add period to last sentence in winforms preview6 release notes. * Update WinForms for Preview 6 * Apply suggestions from code review Co-authored-by: Klaus Löffelmann <[email protected]> --------- Co-authored-by: Merrie McGaw <[email protected]> Co-authored-by: Klaus Löffelmann <[email protected]>
1 parent 6fe1e58 commit ef783a7

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

release-notes/10.0/preview/preview6/winforms.md

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,41 @@
22

33
Here's a summary of what's new in Windows Forms in this preview release:
44

5-
- [Feature](#feature)
5+
- [Windows Forms updates in .NET 10](#windows-forms-updates-in-net-10)
6+
- [New Features and enhancements in .NET 10 Preview 6](#new-features-and-enhancements-in-net-10-preview-6)
7+
- [Fixed Issues in .NET 10 Preview 6](#fixed-issues-in-net-10-preview-6)
68

79
## Windows Forms updates in .NET 10
810

911
- [What's new in Windows Forms in .NET 10](https://learn.microsoft.com/dotnet/desktop/winforms/whats-new/net100) documentation.
10-
- [Issues List for Windows Forms in .NET 10 Preview 2](https://github.com/dotnet/winforms/issues?q=is%3Aissue%20milestone%3A%2210.0%20Preview2%22%20)
1112

12-
## Feature
13+
## New Features and enhancements in .NET 10 Preview 6
1314

14-
Something about the feature
15+
### Dark Mode & Styling
16+
17+
This release brings several improvements to dark mode support in Windows Forms.
18+
* `ListView` ColumnHeaders` are rendering correctly in dark mode now.
19+
* All `ToolStrip` based controls (`MenuStrip`, `StatusStrip`) have their dedicated System Darkmode renderes, and do not rely any longer on additional Professional renderers, which make them compatible to certain A11Y requirements.
20+
* All `ButtonBase` derived push-style controls have their dedicated dark mode renderers. Please note that in contrast to the existing docs, which was somewhat unprecise about the auto owner-rendering of using `ButtonRenderers` vs. wrapped Win32 Button controls, `Standard` `FlatStyle` renderers ARE owner drawn (and always were). Only setting the renderers to System actually wraps a `ButtonBase` control around the native Win32 Button and delegates painting/handling down completely. All remaining `FlatStyle` settings are either relying on VisualStyle-based- or entirely owner rendering. Thus, we've introduced a series of dedicated Button dark mode renderers which are also fixing a series of small bugs as well as one prominent bug, where Buttons would be ignoring dark mode background theming in 96 dpi.
21+
* We fixed the base functionality as far as the Win32 allowed for `TabControl`: Horizontal orientation of tabs are rendering the tabs themselves now correctly in dark mode, and the oversized light-gray/white frame around the respective tab area has been mitigated for most scenarios. Note though that vertical tab orientation and different Tab-Button styles are NOT supported in dark mode, and are not at all high on our priority list.
22+
* We fixed an issue with the `ListBox` dark mode, when using check boxes for List items which had been previously rendered with a white background.
23+
* We've fixed a series of cases when both `RadioButton` and `CheckBox` controls had been rendered with a white background of the actual control background.
24+
25+
### ScreenCaptureMode API
26+
27+
New security APIs have been introduced to protect forms containing sensitive information from the usual screen capture approaches. Please see the new `FormScreenCaptureMode` property for the `Form` class, and the `ScreenCaptureMode` settings for more information.
28+
29+
30+
## Fixed Issues in .NET 10 Preview 6
31+
32+
### Clipboard & Drag/Drop
33+
34+
Clipboard and drag-and-drop functionality have been enhanced with async support and improved reliability. Updates include fixes to drop target methods, investigation and resolution of async clipboard issues, and new capabilities for consuming async drag-and-drop operations.
35+
36+
### Designer & DemoConsole Issues
37+
38+
Numerous improvements and bug fixes have been made to the Designer and DemoConsole application. These include enhanced stability when editing menu items, improved property handling, fixes for control selection and movement, and better support for copy-paste and keyboard shortcuts in the demo environment.
39+
40+
### Infrastructure & Miscellaneous
41+
42+
This release also includes infrastructure updates, code quality improvements, and internal refactoring to enhance maintainability and reliability across the codebase.

0 commit comments

Comments
 (0)