New to Telerik UI for WPFStart a free 30-day trial

Represents a control with two Thumbs that can be dragged by the user.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class RangeSliderThumb : SliderThumbBase

Inheritance: objectSliderThumbBaseRangeSliderThumb

Inherited Members SliderThumbBase.ThumbStylePropertySliderThumbBase.InteractionModePropertySliderThumbBase.OnMouseDown(MouseButtonEventArgs)SliderThumbBase.ThumbStyleSliderThumbBase.InteractionMode

Constructors

C#
public RangeSliderThumb()

Fields

AlternateThumbStyleProperty

DependencyProperty

Identifies the AlternateThumbStyle dependency property.

C#
public static readonly DependencyProperty AlternateThumbStyleProperty

MaximumRangeSpanProperty

DependencyProperty

Identifies the MaximumRangeSpan dependency property.

C#
public static readonly DependencyProperty MaximumRangeSpanProperty

MiddleThumbStyleProperty

DependencyProperty

Identifies the MiddleThumbStyleProperty dependency property.

C#
public static readonly DependencyProperty MiddleThumbStyleProperty

MinimumRangeSpanProperty

DependencyProperty

Identifies the MinimumRangeSpan dependency property.

C#
public static readonly DependencyProperty MinimumRangeSpanProperty

RangeEndProperty

DependencyProperty

Identifies the RangeEnd dependency property.

C#
public static readonly DependencyProperty RangeEndProperty

RangeStartProperty

DependencyProperty

Identifies the RangeStart dependency property.

C#
public static readonly DependencyProperty RangeStartProperty

Identifies the RangeChanged routed event.

C#
public static readonly RoutedEvent SelectedRangeChangedEvent

SelectedRangeProperty

DependencyProperty

Identifies the RangeProperty dependency property.

C#
public static readonly DependencyProperty SelectedRangeProperty

Properties

Gets or sets the style for the right Thumb of the RangeSliderThumb element.

C#
public Style AlternateThumbStyle { get; set; }

Gets or sets the maximum value distance between SelectionStart and SelectionEnd.

C#
public double MaximumRangeSpan { get; set; }

Gets or sets the style for the middle Thumb of the RangeSliderThumb element.

C#
public Style MiddleThumbStyle { get; set; }

Gets or sets the minimum value distance between SelectionStart and SelectionEnd.

C#
public double MinimumRangeSpan { get; set; }

Gets or sets the largest value of a specified range.

C#
public double RangeEnd { get; set; }

Gets or sets the smallest value of a specified range.

C#
public double RangeStart { get; set; }

Gets or sets the range - Start and End.

C#
public SelectionRange<double> SelectedRange { get; set; }
Property Value:

The selection.

Methods

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

C#
public override void OnApplyTemplate()

Overrides: SliderThumbBase.OnApplyTemplate()

Creates new RangeSliderThumbAutomationPeer when needed.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Called when MaximumRangeSpan is changed.

C#
protected virtual void OnMaximumRangeSpanChanged(double oldValue, double newValue)
Parameters:oldValuedouble

The old value.

newValuedouble

The new value.

Called when MinimumRangeSpan is changed.

C#
protected virtual void OnMinimumRangeSpanChanged(double oldValue, double newValue)
Parameters:oldValuedouble

The old value.

newValuedouble

The new value.

Called when SelectionRange event occurs.

C#
protected virtual void OnSelectedRangeChanged()

Events

Occurs when the SelectedRange property has changed.

C#
public event RadRoutedEventHandler SelectedRangeChanged