.NET version
.NET SDK 10.0.100
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
The issue also can reproduce on .NET 9.0
Issue description
Compared with other properties, the Pane in the Anchor Editor should adapt to the dark mode

Steps to reproduce
- Create a new Windows Forms application
- Add a Button & a PropertyGrid control to the form
- propertyGrid1 selected the button1 as object
- Set app under Dark mode in program.cs file:
Application.SetColorMode(SystemColorMode.Dark);
- Run the application