.NET version
.NET 11 RC2 build + integration/11.0-RC2 branch of Winforms repo
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
NET11 new APIs
Issue description
When VisualStylesMode is set to Net11, the accent-colored focus indicator rendered for DomainUpDown and NumericUpDown is thicker than the focus indicator rendered for other text input controls.
The accent-colored focus indicator on DomainUpDown and NumericUpDown appears approximately 1 pixel thicker than the one rendered for TextBox, MaskedTextBox, and RichTextBox, resulting in inconsistent focus visuals across input controls.
Steps to reproduce
- Create a WinForms application targeting .NET 11.
- Set VisualStylesMode to VisualStylesMode.Net11.
- Add the following controls to the Form:
- DomainUpDown
- NumericUpDown
- TextBox
- MaskedTextBox
- RichTextBox
- Build and run the application.
- Click each control or use the Tab key to move focus between the controls.
- Compare the thickness of the accent-colored focus indicator.
.NET version
.NET 11 RC2 build + integration/11.0-RC2 branch of Winforms repo
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
NET11 new APIs
Issue description
When VisualStylesMode is set to Net11, the accent-colored focus indicator rendered for DomainUpDown and NumericUpDown is thicker than the focus indicator rendered for other text input controls.
The accent-colored focus indicator on DomainUpDown and NumericUpDown appears approximately 1 pixel thicker than the one rendered for TextBox, MaskedTextBox, and RichTextBox, resulting in inconsistent focus visuals across input controls.
Steps to reproduce