开发者

How to add a RowPadding to DataGridView?

开发者 https://www.devze.com 2023-02-13 03:12 出处:网络
I\'m currently working on a groupable datagridview. All works fine, but now I want to add a padding to the left. In the picture below I\'m using the rowheader and paint over it, but isn\'t there any o

I'm currently working on a groupable datagridview. All works fine, but now I want to add a padding to the left. In the picture below I'm using the rowheader and paint over it, but isn't there any ot开发者_StackOverflow中文版her way?

How to add a RowPadding to DataGridView?


You could use another column, with a fixed width, the row-header hidden and the background-color set to the background-color of the grid.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号