8000 DataGridView control has an extra scrollbar when adding a new column in DemoConsole application · Issue #12796 · dotnet/winforms · GitHub
[go: up one dir, main page]

Skip to content
DataGridView control has an extra scrollbar when adding a new column in DemoConsole application #12796
Closed
@Philip-Wang01

Description

@Philip-Wang01

.NET version

main 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+?

This is not a regression issue. Also reproduced on the release/9.0 branch.

Issue description

DataGridView control has an extra scrollbar when adding a new column in DemoConsole application.

testdatagridviewscrollbar.mp4

Steps to reproduce

1: Open the test sample: DemoConsole in Winforms repo.
2: Switch to the TabControl and TableLayoutPanel tabpage and select the DataGridView control in the lower right corner.
3: First add a column via “Add Column...”. Then add a column via "Edit Columns...".

More Info:
The scrollbar disappears when you resize the DataGridView control.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0