O'Reilly logo

Microsoft® Silverlight® Edition: Programming Windows® Phone 7 by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

RangeBase and Slider

You’ve probably already grasped that scrollbars and sliders are not required as much on multi-touch screens as they are in mouse-based environments. The ScrollViewer in the last chapter responds directly to touch rather than any manipulation of its scrollbars, which barely even exist except as concepts.

Still, scrollbars and sliders are sometimes useful for jobs that allow the user to select from a continuous range of values. These controls are found in this little corner of the class hierarchy:

Control (abstract)
        RangeBase (abstract)
               ProgressBar
               ScrollBar (sealed)
               Slider

The RangeBase class defines Minimum, Maximum, SmallChange, and LargeChange properties to define the parameters of scrolling, plus a Value property for the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required