DatagridView: Remove unused space?

前端 未结 8 1258
-上瘾入骨i
-上瘾入骨i 2021-01-11 15:25

I was wondering whether it is possible to remove the unused space ( the gray space ) of the DataGridView control in C#. I have to make the DataGridView

8条回答
  •  无人及你
    2021-01-11 16:02

    go to the designer:

    1) change datagridview background color same as the form color

    2) set datagridview "BorderStyle" to None

提交回复
热议问题