Skip to content

Thumb class

A draggable handle. It draws only its chrome and reports how far the pointer has moved from the press, in its parent’s coordinates, so the control that owns it maps the drag to a value.

Guide: C# Markup guide

public sealed class Thumb : Control
name description
Thumb() The default constructor.
IsDragging { get; } Gets whether a drag is in progress.
event DragDelta Occurs on each pointer move during a drag, with the total distance from the press point.
event DragEnded Occurs when the drag ends; true when the capture was taken away instead of released.
event DragStarted Occurs when a press takes the mouse capture and a drag begins.