abhilash
abhilash

Reputation: 5641

How to increase the width of a scroll bar for DataGridView?

Is there way to increase the width of the scroll bars for a DataGridView ?

Upvotes: 0

Views: 5641

Answers (2)

Ezekiel Rage
Ezekiel Rage

Reputation: 581

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

custom scrollbar for datagridview

Upvotes: 3

leppie
leppie

Reputation: 117220

Both the scrollbars are within the DataGridView's Control collection. You can simply get them from there and try alter it.

Upvotes: 2

Related Questions