I am writing a program for WP7 in C# where I would like to utilize a slot machine like effect where the numbers roll like they are mounted on a drum. Is there an efficient implementation of such a control? Any suggestions to implement such a control?
Share
It sounds like you want something similar to the iPhone date picker, but for any set of numbers. A group called Bee Mobile released such a DatePicker in a control pack they are selling, which suggests that it can be done efficiently. You might find Nick Randolph’s adaptation* of the wheel effect to the standard ListBox to be helpful. Depending on your requirements, you may be able to just alter the style to make that work for you. If not, a similar question at MSDN has a helpful outline of a possible approach among the replies:
*The original post referred to on Nick Randolph’s blog is here. It has a bit more explanation, and a screenshot.