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
{{ message }}
Repository navigation
DomainUpDown and NumericUpDown render a thicker accent-colored focus indicator than other text input controls in VisualStylesMode.Net11 #15127
.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.
Verified in the latest .NET 11 RC2 build: 11.0.100-rc.2.26472.108, it was fixed now: DomainUpDown/NumericUpDown has a same accent-colored focus indicator as the TextBox:
Activity
Match UpDown modern focus indicator thickness to TextBox
Match UpDown modern focus indicator thickness to TextBox (#15136)
Net11 editable strokes main (#15147)
Match UpDown modern focus indicator thickness to TextBox
Olina-Zhang commentedon Sep 23, 2026
Verified in the latest .NET 11 RC2 build: 11.0.100-rc.2.26472.108, it was fixed now: DomainUpDown/NumericUpDown has a same accent-colored focus indicator as the TextBox:
Olina-Zhang commentedon Sep 24, 2026
Verified with .NET 11 Oct 2026 Update Validation test pass build: .NET 11.0.0-RC.2.26473.101, issue has been fixed with above test result.