[DarkMode] the item lost dot line when using the mouse to expand the dropdown panel for the Dock/TextAlign/ImageAlign/CheckAlign properties
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
### .NET version
latest .NET SDK 10.0.1
### Did it work in .NET Framework?
No
### Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, the issue does not reproduce on .NET SDK 9.0
### Issue description
The items lost dot line when using the mouse to expand the dropdown panel for the Dock/TextAlign/ImageAlign/CheckAlign properties
https://github.com/user-attachments/assets/fdc582a0-8103-448d-817f-4a13b96dc909
### Steps to reproduce
1. Create a new Windows Forms application
2. Add a Button & a PropertyGrid control to the form
3. propertyGrid1 selected the button1 as object
4. Set app under Dark mode in program.cs file:
5. Application.SetColorMode(SystemColorMode.Dark);
6. Run the application
7. Use mouse to expand dropdown panel for the ImageAlign property
8. Observe the dot line for the items in the dropdown panel
**More info:**
The issue does not reproduce when using the keyboard to expand the dropdown panel, such as Enter keyboard or Alt + Down arrow
Contributor guide
Assessment
This issue has not been assessed yet.