Implement NumericUpDown spinner control on Windows Phone 7?
I need a control to enter small numbers on Windows Phone 7 and would like to have some kind of endless spinner co开发者_运维技巧ntrol 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?
There are a few options here -
- Nick Randolphs' Windows Phone 7 Wheel Control (Clint Rutkas' updated version)
- 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
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.
精彩评论