有没有办法让滚动条的高度和宽度是多少? [英] Is there a way to get the scrollbar height and width?
本文介绍了有没有办法让滚动条的高度和宽度是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图让上显示的一个ListView滚动条的高度和宽度。有没有一种简单的方法来做到这一点?我做了一些google'ing,它看起来像它可能是一个系统设置。我只是不知道去哪里找。
I'm trying to get the height and width of the scrollbars that are displayed on a ListView. Is there an easy way to do this? I did some google'ing and it looks like it might be a system setting. I'm just not sure where to look.
推荐答案
是的,这是一个系统的设置。使用SystemInformation.HorizontalScrollBarHeight和SystemInformation.VerticalScrollBarWidth。
Yes, it is a system setting. Use SystemInformation.HorizontalScrollBarHeight and SystemInformation.VerticalScrollBarWidth.
这篇关于有没有办法让滚动条的高度和宽度是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文