次の方法で共有


Thumb.DragCompleted Event

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

Occurs when the Thumb control loses mouse capture.

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

Syntax

'Declaration
Public Event DragCompleted As DragCompletedEventHandler
public event DragCompletedEventHandler DragCompleted
<Thumb DragCompleted="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 DragCompleted event occurs when the left mouse button is released or when the CancelDrag method is called.

The position of the mouse pointer when the DragCompleted event occurs is provided by the DragDeltaEventArgs of the last DragDelta event.

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.