更改 C# 中控件的滚动条颜色
可能的重复:
更改 WinForms 中 ListView 中滚动条的颜色 < /p>
I我正在尝试更改桌面应用程序中列表视图的滚动条的默认颜色。我想这可以通过继承默认类来完成。您介意提供一些代码或提示吗?
Possible Duplicate:
Changing color of scroll bar in ListView in WinForms
I am trying to change default colors of a scroll bars for a listview in my desktop application. I guess it can be done through inheariting from default class. Would you mind giving some code or tips?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请检查此在WinForms中更改ListView中滚动条的颜色
另一种方法是让你的listview在WPF控件中,wpf允许滚动条自定义,看这里http://www.c-sharpcorner.com/UploadFile/mahesh/SBar06292009105859AM/SBar.aspx
Please check this Changing color of scroll bar in ListView in WinForms
Another way is to make your listview in a WPF control, wpf allows scrollbar customization, look here http://www.c-sharpcorner.com/UploadFile/mahesh/SBar06292009105859AM/SBar.aspx