Thumb Thumb Thumb Class

Definition

Represents a control that can be dragged by the user.

public sealed class Thumb : Control, IThumbpublic sealed class Thumb : Control, IThumbPublic NotInheritable Class Thumb Inherits Control Implements IThumb
<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()

Initializes a new instance of the Thumb class.

public Thumb()public Thumb()Public Sub New()
Attributes

Properties

IsDragging IsDragging IsDragging

Gets whether the Thumb control has focus and mouse capture.

public PlatForm::Boolean IsDragging { get; }public bool IsDragging { get; }Public ReadOnly Property IsDragging As bool
Value
bool bool bool

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

Attributes

IsDraggingProperty IsDraggingProperty IsDraggingProperty

Identifies the IsDragging dependency property.

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

The identifier for the IsDragging dependency property.

Attributes

Methods

CancelDrag() CancelDrag() CancelDrag()

Cancels a drag operation for the Thumb.

public void CancelDrag()public void CancelDrag()Public Function CancelDrag() As void
Attributes

Events

DragCompleted DragCompleted DragCompleted

Fires when the Thumb control loses mouse capture.

public event DragCompletedEventHandler DragCompletedpublic event DragCompletedEventHandler DragCompletedPublic Event DragCompleted
<Thumb DragCompleted="eventhandler"/>
Attributes

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 DragDelta
<Thumb DragDelta="eventhandler"/>
Attributes

DragStarted DragStarted DragStarted

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

public event DragStartedEventHandler DragStartedpublic event DragStartedEventHandler DragStartedPublic Event DragStarted
<Thumb DragStarted="eventhandler"/>
Attributes