Skip to content

Commit de4915c

Browse files
fix winforms
1 parent b1a9921 commit de4915c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ Windows Forms updates in .NET 10:
1111
- [What's new in Windows Forms](https://learn.microsoft.com/dotnet/desktop/winforms/whats-new/) documentation
1212

1313
## ComboBox Dark Mode Rendering Fix
14+
1415
In this update, we've resolved an issue where a disabled ComboBox displayed a white background instead of the appropriate dark mode color scheme. Now, regardless of whether the ComboBox is in editable, list, or simple mode, its constituent controls will correctly render with the proper dark mode background when disabled.
15-
16+
1617
## RichTextBox Dark Mode Improvement and Known Limitation
18+
1719
We’ve also addressed the RichTextBox background issue in dark mode. Previously, a disabled RichTextBox would show a white background. Now it correctly displays the dark mode background. However, there's a known limitation: if the RichTextBox has formatted content, only the first few visible lines will appear correctly, and the formatting might not fully apply in the disabled state.
18-
20+
1921
As a temporary workaround, if maintaining full formatting in a disabled RichTextBox is essential, we recommend setting it to read-only and manually disabling selections. This helps achieve a better preview until a more permanent fix is available. Note that this limitation is due to the underlying RichTextBox control in the common controls library, and a full fix may require a future version update.
20-
22+
2123
## PropertyGrid Dark Mode Enhancements
24+
2225
We’ve also improved the rendering of special buttons within the PropertyGrid for dark mode. Previously, the ellipsis button used to open an editor and the drop-down button for ComboBox-type editors were not rendering well in dark mode. Now, these elements have dedicated renderers ensuring they appear consistently and at the same quality as the rest of the UI in dark mode.
23-
26+
2427
Everything mentioned above pertains specifically to dark mode improvements in Preview 7. Other functionalities remain unchanged in this release.

0 commit comments

Comments
 (0)