简体   繁体   中英

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

有没有办法增加DataGridView滚动条的宽度?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM