Is ther开发者_如何学JAVAe any color picker control for windows phone 7?
I know ColorPicker from Silverlight Contrib, but is it usable or have some sort of downside to use it on WP7?
regards, Stefano
I'm not aware of any color picker controls for WP7. The control from the Silverlight Contrib project should work if you compile the source code into a WP7 project. However, you need to take into consideration the touch-based user experience and that the recommended minimum touch point surface is 7mm square. Perhaps a ListPicker
or LongListSelector
based approach with pre-defined colors would be more suitable.
Check out application of List Picker for this purpose as outlined by David Anson here.
ListPicker? I hardly even know 'er! [A detailed overview of the Windows Phone Toolkit's ListPicker control] - Delay's Blog
I also understand ColorPicker from the Silverlight Contrib is fine for use on WP7 (refer James Ashley's comments).
精彩评论