Is there way to increase the width of the scroll bars for a DataGridView ?
+2
A:
Both the scrollbars are within the DataGridView's Control collection. You can simply get them from there and try alter it.
leppie
2009-05-25 10:13:58
Thanks for the responsePicked up HScrollBar from the DataGridView's Control Collection and tried changing it. But no luck..
AB Kolan
2009-05-25 10:39:42
Did you call Refresh after changing?
leppie
2009-05-25 12:31:15
The problem is that they are read-only and protected so no modifications there.
Ezekiel Rage
2009-09-08 07:26:14
+3
A:
The only way of doing it is by implementing your own control and replacing the one on the DataGridView
. I found this on CodeProject(its VB but still a good example):
Core Custom Scrollbar Class By VectorX
There is also something on the MSDN forums
Ezekiel Rage
2009-09-08 07:23:07