Thumb.IsDragging Property


Gets whether the Thumb control has logical focus and mouse capture and the left mouse button is pressed.

public:  property bool IsDragging {  public:
bool get(); protected:
 void set(bool value); };
public bool IsDragging { get; protected set; }
member this.IsDragging : bool with get, set
Public Property IsDragging As Boolean

Property Value


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



When the IsDragging property changes its value, the OnDraggingChanged method is called.

Starting with the .NET Framework version 3.0 Service Pack 1, IsDragging has a protected setter. To use this functionality, your application should target the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Dependency Property Information

Identifier field IsDraggingProperty
Metadata properties set to true None

Applies to

See also