Compartir a través de


Thumb.DragDelta Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Event DragDelta As DragDeltaEventHandler
public event DragDeltaEventHandler DragDelta
<Thumb DragDelta="eventhandler"/>

Remarks

The Thumb control receives logical focus and mouse capture when the user presses the left mouse button while the mouse pointer is paused over the Thumb. The Thumb control loses mouse capture when the user releases the left mouse button, or when the CancelDrag method is called.

A new DragDelta event occurs each time the mouse pointer is moved. Therefore, this event can be raised repeatedly when a Thumb control has mouse capture.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.