Thumb Thumb Thumb Class

Definition

Represents a control that can be dragged by the user.

public sealed class Thumbpublic sealed class ThumbPublic NotInheritable Class Thumb
<Thumb .../>
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited events

Inherited methods

Constructors

Thumb() Thumb() Thumb() Thumb()

Initializes a new instance of the Thumb class.

public Thumb()public New()Public Sub New()public Thumb()
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

IsDragging IsDragging IsDragging IsDragging

Gets whether the Thumb control has focus and mouse capture.

public bool IsDragging { get; }public bool IsDragging { get; }Public ReadOnly Property IsDragging As boolpublic bool IsDragging { get; }
Value
bool bool bool

true if the Thumb control has focus and mouse capture; otherwise, false. The default is false.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

IsDraggingProperty IsDraggingProperty IsDraggingProperty IsDraggingProperty

Identifies the IsDragging dependency property.

public static DependencyProperty IsDraggingProperty { get; }public static DependencyProperty IsDraggingProperty { get; }Public Static ReadOnly Property IsDraggingProperty As DependencyPropertypublic static DependencyProperty IsDraggingProperty { get; }
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the IsDragging dependency property.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

CancelDrag() CancelDrag() CancelDrag() CancelDrag()

Cancels a drag operation for the Thumb.

public void CancelDrag()public void CancelDrag()Public Function CancelDrag() As voidpublic void CancelDrag()
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Events

DragCompleted DragCompleted DragCompleted DragCompleted

Fires when the Thumb control loses mouse capture.

public event DragCompletedEventHandler DragCompletedpublic event DragCompletedEventHandler DragCompletedPublic Event DragCompletedpublic event DragCompletedEventHandler DragCompleted
<Thumb DragCompleted="eventhandler"/>
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

DragDelta DragDelta DragDelta DragDelta

Fires one or more times as the mouse pointer is moved when a Thumb control has logical focus and mouse capture.

public event DragDeltaEventHandler DragDeltapublic event DragDeltaEventHandler DragDeltaPublic Event DragDeltapublic event DragDeltaEventHandler DragDelta
<Thumb DragDelta="eventhandler"/>
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

DragStarted DragStarted DragStarted DragStarted

Fires when a Thumb control receives logical focus and mouse capture.

public event DragStartedEventHandler DragStartedpublic event DragStartedEventHandler DragStartedPublic Event DragStartedpublic event DragStartedEventHandler DragStarted
<Thumb DragStarted="eventhandler"/>
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)