DragGestureData 類別
在拖放作業期間提供其他資訊。
繼承階層架構
System.Object
Microsoft.Windows.Design.Interaction.GestureData
Microsoft.Windows.Design.Interaction.MouseGestureData
Microsoft.Windows.Design.Interaction.DragGestureData
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Class DragGestureData _
Inherits MouseGestureData
public class DragGestureData : MouseGestureData
public ref class DragGestureData : public MouseGestureData
type DragGestureData =
class
inherit MouseGestureData
end
public class DragGestureData extends MouseGestureData
DragGestureData 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
DragGestureData(EditingContext, ModelItem, ModelItem, Visual, Point, Point, DragDropEffects, IDataObject) | 初始化 DragGestureData 類別的新執行個體。 |
![]() |
DragGestureData(EditingContext, ModelItem, ModelItem, Visual, Point, Point, DragDropEffects, IDataObject, DependencyObject, DependencyObject) | 初始化 DragGestureData 類別的新執行個體。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Adorners | 取得內容中儲存之設計工具檢視的裝飾項集合。 (繼承自 GestureData)。 |
![]() |
AllowedEffects | 取得一組允許的拖放效果。 |
![]() |
Context | 取得與這個筆勢資料相關聯的編輯內容。 (繼承自 GestureData)。 |
![]() |
CurrentPosition | 取得滑鼠目前的位置。 (繼承自 MouseGestureData)。 |
![]() |
Data | 取得已傳入拖放作業中的資料。 |
![]() |
Effects | 取得或設定目前的拖放效果。 |
![]() |
ImpliedSource | 取得這個筆勢的來源模型。 (繼承自 GestureData)。 |
![]() |
ImpliedTarget | 取得這個筆勢的目標模型。 (繼承自 GestureData)。 |
![]() |
PositionDelta | 取得開始位置與結束位置之間的位移 (Offset)。 (繼承自 MouseGestureData)。 |
![]() |
SourceAdorner | 取得檢視中的來源裝飾項。 (繼承自 GestureData)。 |
![]() |
SourceModel | 取得這個筆勢的來源物件。 (繼承自 GestureData)。 |
![]() |
StartPosition | 取得滑鼠的開始位置。 (繼承自 MouseGestureData)。 |
![]() |
TargetAdorner | 取得檢視中的目標裝飾項。 (繼承自 GestureData)。 |
![]() |
TargetModel | 取得這個筆勢的目標物件。 (繼承自 GestureData)。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | 判斷指定的 Object 和目前的 Object 是否相等。 (繼承自 Object)。 |
![]() |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
![]() ![]() |
FromEventArgs(CanExecuteToolEventArgs) | 提供簡單的公用程式,這個公用程式會從 CanExecuteToolEventArgs 物件傳回 DragGestureData 物件。 |
![]() ![]() |
FromEventArgs(ExecutedToolEventArgs) | 提供簡單的公用程式,這個公用程式會從 ExecutedToolEventArgs 物件傳回 DragGestureData。 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
![]() |
TranslatePoint | 將指定的點轉譯為指定之模型的視覺座標系統。 (繼承自 MouseGestureData)。 |
回頁首
備註
這個類別衍生自 MouseGestureData,並提供拖放作業的其他筆勢資料。
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間