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

An object that describes base class for the single slider thumb.

Definition

Namespace:Telerik.Windows.Controls.Slider

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class SliderThumbBase : Thumb

Inheritance: objectSliderThumbBase

Derived Classes: RangeSliderThumbSliderThumb

Constructors

C#
public SliderThumbBase()

Fields

InteractionModeProperty

DependencyProperty

Identifies the InteractionMode dependency property.

C#
public static readonly DependencyProperty InteractionModeProperty

ThumbStyleProperty

DependencyProperty

Identifies the ThumbStyle dependency property.

C#
public static readonly DependencyProperty ThumbStyleProperty

Properties

Gets or sets the interaction mode of the SliderThumbBase element.

C#
public ThumbInteractionMode InteractionMode { get; set; }

Gets or sets the style for the SliderThumb or for the left Thumb of the RangeSliderThumb element.

C#
public Style ThumbStyle { get; set; }

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()

Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

C#
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

The System.Windows.Input.MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.