Implement NumericUpDown spinner control on Windows Phone 7?

*爱你&永不变心* 提交于 2020-02-03 16:23:21

问题


I need a control to enter small numbers on Windows Phone 7 and would like to have some kind of endless spinner control like the one for entering day and month and the date setting of the device.

Is there a standard control to spin through these kind of selections? Or at least some way how to build this kind of control?


回答1:


There are a few options here -

  1. Nick Randolphs' Windows Phone 7 Wheel Control (Clint Rutkas' updated version)
  2. Rudi Grobler's LoopingSelector

I hope either of these two controls will help you in your app development. I maintain a list of Windows Phone 7 developer resources here (including a number of WP7 controls)

Hope this helps, indyfromoz




回答2:


If you already using the Windows Phone Toolkit then you can use the same LoopingSelector control from the DatePicker. You need to implement a data source for it, but it's pretty simple.



来源:https://stackoverflow.com/questions/4022074/implement-numericupdown-spinner-control-on-windows-phone-7

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