Implement NumericUpDown spinner control on Windows

2019-07-07 17:36发布

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?

2条回答
一纸荒年 Trace。
2楼-- · 2019-07-07 17:44

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

查看更多
做个烂人
3楼-- · 2019-07-07 17:56

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.

查看更多
登录 后发表回答