Skip to content

Slider class

A slider control for selecting a numeric value within a range.

Guide: C# Markup reference: Input

public sealed class Slider : RangeBase
name description
Slider() The default constructor.
ChangeOnWheel { get; set; } Gets or sets whether the mouse wheel changes the value by SmallChange per notch while the pointer is over the slider.
Fill { get; set; } Gets or sets the color of the track from the minimum up to the value.
Orientation { get; set; } Gets or sets the direction of the track; a vertical slider has its minimum at the bottom.
ThumbBorderBrush { get; set; } Gets or sets the thumb border color.
ThumbBrush { get; set; } Gets or sets the thumb color.
static readonly ChangeOnWheelProperty
static readonly FillProperty
static readonly OrientationProperty
const PART_TRACK The optional track part of a template. The control pushes its range, value and orientation into it, moves the value to a press on it and maps its thumb’s drags to the value.
static readonly ThumbBorderBrushProperty
static readonly ThumbBrushProperty