Skip to content

Disable NET11 VisualStylesMode for composite controls (ToolStrip, DataGridView, etc.) until NET11 layout modernization is completed #15031

Description

@SimonZhao888

Summary

Several composite controls are currently not fully adapted to the new NET11 VisualStylesMode rendering model.

Unlike standalone controls such as TextBox and ComboBox, composite controls (for example ToolStrip, DataGridView, and their hosted editing controls) still use legacy sizing and layout assumptions. As a result, when NET11 visual styles are enabled, the updated control metrics and padding can cause layout inconsistencies and display issues. Related internal testing has already identified multiple visual regressions involving ComboBox, TextBox, ToolStripComboBox, and DataGridView editing controls under NET11 mode.

Typical symptoms include:

Text being vertically clipped.
Content not fully visible.
Incorrect row height calculations.
Insufficient padding.
Borders rendered incorrectly.
Hosted editing controls appearing visually incomplete.

Activity

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

Metadata

Metadata

Assignees

Labels

untriagedThe team needs to look at this issue in the next triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions