A Slider control lets users select a value from a range of values. The following illustration shows an example of a Slider control.
Example of a Slider Control
.png)
You can customize a Slider control by setting its properties. The following list describes some of the attributes of a Slider that you can customize:
The orientation of the Slider, either horizontal or vertical.
The tick mark locations along the Slider track.
The display of tooltips to show the current value of the Slider.
The ability of the Thumb to either snap to tick marks or to be positioned at any point along the Slider.
The direction of increasing value along the Slider.
For more information about how to customize a Slider control, see the individual member.
Slider overrides the metadata of the Maximum property and sets its default to 10. For more information, see Dependency Properties Overview.
Dependency properties for this control might be set by the control’s default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running. For more information, see Themes.