Customizing the TrackBar control in .NET

自闭症网瘾萝莉.ら 提交于 2019-11-27 17:03:11

问题


I am trying to develop application that would let me mark A-B points on the timeline. How do I draw lines on the trackbar to mark a specific point/value?

Also, how do I hide the ticks in the trackbar control when TickStyle is set to Both?


回答1:


I think these links help you to customize your trackbar control. Second link gives you a lot of examples for customize trackbar.

http://www.codeproject.com/KB/miscctrl/MAC_Slider.aspx

http://www.codeproject.com/KB/miscctrl/gTrackBar.aspx




回答2:


If you are ready to pay for that DevExpress provides a Trackar which is named RangeTrackBar with 2 TrackBar Buttons and very Customizable using Visual Studio Designer .



来源:https://stackoverflow.com/questions/7255038/customizing-the-trackbar-control-in-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!