开发者

Using an Up-Down control for WP7?

开发者 https://www.devze.com 2023-02-04 20:44 出处:网络
I am looking for an Up-Down control for the Windows Phone, and I know there is one in the Silverlight 4 开发者_如何学Ctoolkit but how do I reference it for use in my Phone project? I tried referencing

I am looking for an Up-Down control for the Windows Phone, and I know there is one in the Silverlight 4 开发者_如何学Ctoolkit but how do I reference it for use in my Phone project? I tried referencing the controls.dll and the controls.input dll but no luck. If there is a free control you recommend for up-down, what is it?


There is a Windows phone specific version of the Toolkit here. However it does not contain an implementation of an up down control and in my opinion that's a good thing. Not all UI idioms we are used to in mouse driven applications are good for direct touch devices. You'll note there are no scroll bars with up down buttons on them in WP7.

An entirely new gesture based idiom for quickly selecting numbers might be needed. Possibly mulitple methods could be employed each suited to different scenarios where the domain of values is small, medium or large and where the numbers are just integers or include decimal fractions.


I agree with what Anthony has said; in addition, presumably you have a fixed range of values that you want the user to be able to select from, in whihc case I'd reccomend using the LoopingSelector from the Silverlight Toolkit for WP7, as described in Nigel Sampson's blog post.


Telerik has a Numeric Up Down control for Windows Phone 7 that you need. Check here - http://www.telerik.com/products/windows-phone.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消