Where to start on creating finger swipe navigation trough a list.
- by Thomas Stock
Lets say I want to make a control to select any integer number by dragging on a "bar" with numbers:
(156 is selected)
Mousedown on "159" and dragging towards the left and then doing mouseup changes the control to this:
(160 is selected)
I've been experimenting for the past 3 hours but I'm inexperienced in Silverlight so I'm having problems getting started.
My current guess is I should seperate this into 2 steps:
Step 1: Build this control without swiping behavior. Just 2 buttons to go up a number or go down a number
Step 2: Replace the buttons by handling mouse events.
With my limited knowledge I think I would manage building a crappy control that does this, with very messy xaml and c# and lots of headaches when trying to apply styling and fancy state transitions, but I was hoping some xaml wizards could get me started with the basic approach?
Edit:
This is an implementation of what I'm trying to achieve in Silverlight:
Iphone's datepicker: