-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area-DarkModeIssues relating to Dark Mode featureIssues relating to Dark Mode feature
Description
.NET version
10.0.100-rc.2.25466.103
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
DarkMode is a new feature in .NET 10
Issue description
In Windows Forms, when a Button control has its FlatStyle set to FlatStyle.Popup, it does not show any visual feedback (such as border change) when the mouse hovers over it under Dark Mode. This breaks expected UI behavior and provides no indication of interactivity.
Dark mode: has a problem
DarkMode.mp4
Classic mode: work well
ClassicMode.mp4
Steps to reproduce
- Create a new Windows Forms application
- Add a Button control to the form
- Set button1.FlatStyle = FlatStyle.Popup
- Set app under Dark mode in program.cs file:
Application.SetColorMode(SystemColorMode.Dark);
- Run the application
- Hover the mouse over the button to observe
Metadata
Metadata
Assignees
Labels
area-DarkModeIssues relating to Dark Mode featureIssues relating to Dark Mode feature