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
ComboBox displays the selected item with a dark blue selection background when DropDownStyle is DropDownList in NET11 mode #14908
NewApi-Net11Tracks issues for public APIs targeted for .NET 11.rendering-or-artifacts-issuesControls paint themselves, sometimes "outside their borders." Primarily looks, not function.
When a WinForms ComboBox is configured with DropDownStyle = DropDownList and VisualStyleMode = NET11, the selected item(Text area) is rendered with a dark blue background and white text after the drop-down list is closed.
SystemColorMode with Light: SystemColorMode with Dark:
The selected item remains displayed with this dark blue selection background in the ComboBox text area, which differs from the rendering in VisualStyleMode = Classic. SystemColorMode with Light:
FWIW, this is by Design. It is the modern-rendered focus indicator. You can tab out of it.
I would leave it as it is, except someone has issues with it.
FWIW, this is by Design. It is the modern-rendered focus indicator. You can tab out of it. I would leave it as it is, except someone has issues with it.
Compared to Classic, the focused state is much clearer in NET11.
My only concern is that the blue fill looks a bit heavy in Dark Mode, and the text contrast is insufficient. Other than that, I would leave it as-is.
I wonder whether a lighter accent fill, combined with a dedicated focus indicator such as an accent border, would make the state clearer while remaining consistent with the direction we're taking for other controls.
NewApi-Net11Tracks issues for public APIs targeted for .NET 11.rendering-or-artifacts-issuesControls paint themselves, sometimes "outside their borders." Primarily looks, not function.
Activity
KlausLoeffelmann commentedon Aug 24, 2026
FWIW, this is by Design. It is the modern-rendered focus indicator. You can tab out of it.
I would leave it as it is, except someone has issues with it.
@LeafShi1, @SimonZhao888, @ricardobossan - what's your take here?
SimonZhao888 commentedon Aug 25, 2026
I completely agree with you.
LeafShi1 commentedon Aug 25, 2026
I don't think this is a bug.
Compared to Classic, the focused state is much clearer in NET11.
My only concern is that the blue fill looks a bit heavy in Dark Mode, and the text contrast is insufficient. Other than that, I would leave it as-is.
I wonder whether a lighter accent fill, combined with a dedicated focus indicator such as an accent border, would make the state clearer while remaining consistent with the direction we're taking for other controls.