Thumb.IsDragging 屬性

定義

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

public:  property bool IsDragging {  public:
bool get(); protected:
 void set(bool value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(false)]
public bool IsDragging { get; protected set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(false)>]
member this.IsDragging : bool with get, set
Public Property IsDragging As Boolean

屬性值

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

屬性

備註

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

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

相依性屬性資訊

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

適用於

另請參閱