winforms icon indicating copy to clipboard operation
winforms copied to clipboard

[DarkMode] the item lost dot line when using the mouse to expand the dropdown panel for the Dock/TextAlign/ImageAlign/CheckAlign properties

Open Zheng-Li01 opened this issue 2 months ago • 0 comments

.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

Image

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

Zheng-Li01 avatar Nov 06 '25 03:11 Zheng-Li01