Thumb.DragDelta Event

July 28, 2014

Occurs one or more times as the user moves their finger across the screen when a Thumb control has logical focus and cursor capture.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public event DragDeltaEventHandler DragDelta
<Thumb DragDelta="eventhandler"/>

The Thumb control receives logical focus and cursor capture when the user taps the Thumb. The Thumb control loses cursor capture when the lifts their finger from the screen, or when the CancelDrag method is called.

A new DragDelta event occurs each time the user drags their finger across the screen. Therefore, this event can be raised repeatedly when a Thumb control has cursor capture.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft