You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes/10.0/preview/rc1/winforms.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,21 @@ Here's a summary of what's new in WinForms in this release:
4
4
5
5
-[Dark Mode Now Fully Integrated](#dark-mode-now-fully-integrated)
6
6
-[Clarification on ControlStyles `ApplyThemingImplicitlyUsage`](#clarification-on-controlstyles-applythemingimplicitlyusage)
7
-
-[Several additional improvements to renderer, async, and state management](#additional-improvements)
7
+
-[Several more improvements to renderer, async, and state management](#other-improvements)
8
8
9
9
Windows Forms updates in .NET 10:
10
10
11
11
-[What's new in Windows Forms](https://learn.microsoft.com/dotnet/desktop/winforms/whats-new/) documentation
12
12
13
13
## Dark Mode Now Fully Integrated
14
14
15
-
Dark mode is officially out of experimental status and can be used without special configuration. Keep in mind that the dark mode renderer relies on underlying Win32 controls, and while we anticipate improvements, dark mode support will evolve over time. Please refer to our updated docs for the latest scope and details.
15
+
Dark mode is officially out of experimental status and can be used without special configuration. Keep in mind that the dark mode renderer relies on underlying Win32 controls, and while we anticipate improvements, dark mode support will evolve over time. Refer to our updated docs for the latest scope and details.
16
16
17
17
## Clarification on ControlStyles `ApplyThemingImplicitlyUsage`
18
18
19
-
While the `ControlStyles` enum element `ApplyThemingImplicitly`isn’t new, it now has a more precise application for opting in or out of dark mode themin: It’s crucial to set this enum flag in a derived control in `CreateParams`_before_ calling the base method. Due to the original WinForms design, `CreateParams` runs before derived class constructors, and this order can be a common pitfall if not highlighted. We've updated the docs with this note, and it’s important for developers inheriting controls to follow this guidance, if they want their control to opt in or out implicit theming handling.
19
+
While the `ControlStyles` enum element `ApplyThemingImplicitly` isn’t new, it now has a more precise application for opting in or out of dark mode theming: It’s crucial to set this enum flag in a derived control in `CreateParams`_before_ calling the base method. Due to the original WinForms design, `CreateParams` runs before derived class constructors, and this order can be a common pitfall if not highlighted. We've updated the docs with this note, and it’s important for developers inheriting controls to follow this guidance, if they want their control to opt in or out implicit theming handling.
20
20
21
-
## Additional Improvements
21
+
## Other Improvements
22
22
23
23
-**Renderer and Color Fixes**: We've resolved issues with foreground and background colors for buttons and text boxes in dark mode.
0 commit comments