42.1 Overview

Slider class creates a widget which allows the user to adjust a numeric value using a thumb which can be pulled back and forth to change the value. Sliders can use horizontal or vertical orientation depending on the Slider.Horiz attribute. By default a horizontal slider is created.

Here is an XML example of a slider that allows the user to configure a number ranging from 0 to 100:

<slider min="0" max="100"/>

Show TOC