简体   繁体   中英

WPF: Potmeter custom control

I'm trying to find out how to make a custom knob control. To explain I have included a mockup 替代文字 :

I would like the numeric values shown to be databindable (and include ticks to optionally snap to) I think I have to take the slider as a base but it's confusing how to make a custom control properly and databind all the values.

Any advice?

just have a look at the guage control for a reference

http://www.codeproject.com/KB/silverlight/circulargaugecontrol.aspx

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