共用方式為


DragSourceContext.GetInitialDragLocation 方法 (ElementGroupPrototype)

傳回開始拖曳時的滑鼠位置 (以絕對全局座標表示)。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
Public Shared Function GetInitialDragLocation ( _
    elementGroupPrototype As ElementGroupPrototype _
) As PointD
public static PointD GetInitialDragLocation(
    ElementGroupPrototype elementGroupPrototype
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework 安全性

請參閱

參考

DragSourceContext 類別

GetInitialDragLocation 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間