Skip to content

DomainUpDown and NumericUpDown render a thicker accent-colored focus indicator than other text input controls in VisualStylesMode.Net11 #15127

Description

@Olina-Zhang

.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.

Image Image

Steps to reproduce

  1. Create a WinForms application targeting .NET 11.
  2. Set VisualStylesMode to VisualStylesMode.Net11.
  3. Add the following controls to the Form:
  • DomainUpDown
  • NumericUpDown
  • TextBox
  • MaskedTextBox
  • RichTextBox
  1. Build and run the application.
  2. Click each control or use the Tab key to move focus between the controls.
  3. Compare the thickness of the accent-colored focus indicator.

Activity

  1. added
    untriagedThe team needs to look at this issue in the next triage
    NewApi-Net11Tracks issues for public APIs targeted for .NET 11.
    on Sep 16, 2026
  2. added 2 commits that reference this issue on Sep 17, 2026
    429109a
    41736a5
  3. added a commit that references this issue on Sep 22, 2026
  4. added a commit that references this issue on Sep 22, 2026
    b534719
  5. Olina-Zhang commented on Sep 23, 2026

    @Olina-Zhang
    MemberAuthor

    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:

    Image Image
  6. Olina-Zhang commented on Sep 24, 2026

    @Olina-Zhang
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NewApi-Net11Tracks issues for public APIs targeted for .NET 11.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions