Class
RangeSliderThumb

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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class RangeSliderThumb : SliderThumbBase

Inheritance: objectSliderThumbBaseRangeSliderThumb

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

Constructors

RangeSliderThumb()

Declaration

cs-api-definition
public RangeSliderThumb()

Fields

AlternateThumbStyleProperty

Identifies the AlternateThumbStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AlternateThumbStyleProperty

Field Value

DependencyProperty

MaximumRangeSpanProperty

Identifies the MaximumRangeSpan dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaximumRangeSpanProperty

Field Value

DependencyProperty

MiddleThumbStyleProperty

Identifies the MiddleThumbStyleProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MiddleThumbStyleProperty

Field Value

DependencyProperty

MinimumRangeSpanProperty

Identifies the MinimumRangeSpan dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimumRangeSpanProperty

Field Value

DependencyProperty

RangeEndProperty

Identifies the RangeEnd dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RangeEndProperty

Field Value

DependencyProperty

RangeStartProperty

Identifies the RangeStart dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RangeStartProperty

Field Value

DependencyProperty

SelectedRangeChangedEvent

Identifies the RangeChanged routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent SelectedRangeChangedEvent

Field Value

RoutedEvent

SelectedRangeProperty

Identifies the RangeProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedRangeProperty

Field Value

DependencyProperty

Properties

AlternateThumbStyle

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

Declaration

cs-api-definition
public Style AlternateThumbStyle { get; set; }

Property Value

Style

MaximumRangeSpan

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

Declaration

cs-api-definition
public double MaximumRangeSpan { get; set; }

Property Value

double

MiddleThumbStyle

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

Declaration

cs-api-definition
public Style MiddleThumbStyle { get; set; }

Property Value

Style

MinimumRangeSpan

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

Declaration

cs-api-definition
public double MinimumRangeSpan { get; set; }

Property Value

double

RangeEnd

Gets or sets the largest value of a specified range.

Declaration

cs-api-definition
public double RangeEnd { get; set; }

Property Value

double

RangeStart

Gets or sets the smallest value of a specified range.

Declaration

cs-api-definition
public double RangeStart { get; set; }

Property Value

double

SelectedRange

Gets or sets the range - Start and End.

Declaration

cs-api-definition
public SelectionRange<double> SelectedRange { get; set; }

Property Value

SelectionRange<double>

The selection.

Methods

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides SliderThumbBase.OnApplyTemplate()

OnCreateAutomationPeer()

Creates new RangeSliderThumbAutomationPeer when needed.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnMaximumRangeSpanChanged(double, double)

Called when MaximumRangeSpan is changed.

Declaration

cs-api-definition
protected virtual void OnMaximumRangeSpanChanged(double oldValue, double newValue)

Parameters

oldValue

double

The old value.

newValue

double

The new value.

OnMinimumRangeSpanChanged(double, double)

Called when MinimumRangeSpan is changed.

Declaration

cs-api-definition
protected virtual void OnMinimumRangeSpanChanged(double oldValue, double newValue)

Parameters

oldValue

double

The old value.

newValue

double

The new value.

OnSelectedRangeChanged()

Called when SelectionRange event occurs.

Declaration

cs-api-definition
protected virtual void OnSelectedRangeChanged()

Events

SelectedRangeChanged

Occurs when the SelectedRange property has changed.

Declaration

cs-api-definition
public event RadRoutedEventHandler SelectedRangeChanged

Event Value

RadRoutedEventHandler