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