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
[Dark Mode] The Spinner button of Tabcontrol not in DarkMode when adding the TabPage items by using TabPages property in the PropetyGrid control #14159
Did it work in any of the earlier releases of .NET Core or .NET 5+?
The issue also can reproduce .NET 10.0 & .NET 9.0
Issue description
The Spinner button of Tabcontrol not in DarkMode when adding the TabPage items by using TabPages property in the PropetyGrid control, and the issue can be workaround after switching the Multiline property true then false.
TabControlIssue.mp4
Steps to reproduce
Create a .NET winforms project with TabControl & PropertyGrid controls
Select the tabControl1 as object for the propertyGrid1
Set app under Dark mode in program.cs file Application.SetColorMode(SystemColorMode.Dark);
Run the application
Add the tabPage items by using TabPage property in PropertyGrid
Observe the status of Spinner button of tabControl1
Switch the Multiline property to true, then back to false
Add the tabPage items by using TabPage property in PropertyGrid
Observe the status of Spinner button of tabControl1
Results:
After steps6, the Spinner button of tabControl1 not in DarkMode
After steps9, the Spinner button of tabControl1 in DarkMode