开发者

How to add a RowPadding to DataGridView?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜