Ideas for creating an odometer-like control RRS feed

  • Question

  • I have a requirement to create a control that's like an odometer, or perhaps more like a bike lock with rotating dials with numbers on them.  The dials are supposed to wrap around just like a real dial (i.e. 0 through 9, then wrap back to 0).  I have a ListView control centered within a smaller Border control.  The smaller Border control crops the ListView such that one number displays centered vertically in the Border, but the numbers above and below that number on the dial are cropped.  It's partially functional except that it doesn't wrap (i.e.  It also doesn't scroll smoothly as I'd like, and I also want the number to snap into the middle of the display so it can't get stuck in between.

    Any ideas/suggestions?


    Wednesday, August 28, 2013 10:17 AM