Thumb.IsDragging Property

Definition

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

C#
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(false)]
public bool IsDragging { get; protected set; }

Property Value

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

Attributes

Remarks

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

Item Value
Identifier field IsDraggingProperty
Metadata properties set to true None

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also