如何在Silverlight中创建旋钮控件? [英] How to create a knob control in silverlight?
本文介绍了如何在Silverlight中创建旋钮控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这就是我想做的事情:
http://www.webresourcesdepot.com/a-beautiful -javascript-knob-circular-switch-ui-component-jquery-knob/ [
This sis what Im trying to do:
http://www.webresourcesdepot.com/a-beautiful-javascript-knob-circular-switch-ui-component-jquery-knob/[^]
Appreciate any comments or tips on achieving this.
推荐答案
我将创建一个继承了FrameworkElement的自定义控件,然后从此处继续进行操作:
http://blog.spencen.com/2007 /11/09/xaml-and-wpf--或-quotim-seeing-starsquot.aspx [
I would create a custom control that inherited the FrameworkElement, and proceed from there:
http://blog.spencen.com/2007/11/09/xaml-and-wpf--or-quotim-seeing-starsquot.aspx[^]
He explains the steps and you could download the code. In addition you need to grab the mouse move event an react to it.
Good luck :)
这篇关于如何在Silverlight中创建旋钮控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文