Thumb.IsDragging 屬性

定義

取得值,指出 Thumb 控制項是否具有邏輯焦點和滑鼠捕捉,以及是否已按下左滑鼠按鈕。

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

屬性值

如果 Thumb 控制項具有焦點和滑鼠捕捉,則為 true,否則為 false。 預設值是 false

屬性

備註

IsDragging當屬性變更其值時, OnDraggingChanged 會呼叫 方法。

從 .NET Framework 3.0 版 Service Pack 1 開始, IsDragging 具有受保護的 setter。 若要使用這項功能,您的應用程式應以 .NET Framework 3.5 版為目標。 如需詳細資訊,請參閱版本和相依性

相依性屬性資訊

識別碼欄位 IsDraggingProperty
中繼資料屬性設定為 true

適用於

產品 版本
.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

另請參閱