.NET version
.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-2 branch of https://github.com/KlausLoeffelmann/winforms repo
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature
Issue description
When VisualStyleMode is set to NET11, TextBox correctly uses the Windows accent-colored focus indicator when focused.
However, DomainUpDown and NumericUpDown continue to display the traditional focus border instead of using the configured Windows accent color, resulting in inconsistent focus visuals across input controls.
TextBox:
DomainUpDown/NumericUpDown:
Steps to reproduce
- In Windows Settings > Personalization > Colors, select a noticeable Accent color (e.g. Red).
- Create a WinForms application targeting .NET 11.
- Set the Form's
VisualStyleMode to NET11.
- Add a
TextBox, DomainUpDown, and NumericUpDown to the Form.
- Run the application.
- Click each control (or use Tab) to give it focus to observe
.NET version
.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-2 branch of https://github.com/KlausLoeffelmann/winforms repo
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature
Issue description
When
VisualStyleModeis set toNET11,TextBoxcorrectly uses the Windows accent-colored focus indicator when focused.However,
DomainUpDownandNumericUpDowncontinue to display the traditional focus border instead of using the configured Windows accent color, resulting in inconsistent focus visuals across input controls.TextBox:
DomainUpDown/NumericUpDown:
Steps to reproduce
VisualStyleModetoNET11.TextBox,DomainUpDown, andNumericUpDownto the Form.