DragSourceContext.GetInitialDragLocation 方法 (ElementGroup)

返回鼠标的位置 (绝对世界坐标),在对拖动开始的。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Shared Function GetInitialDragLocation ( _
    elementGroup As ElementGroup _
) As PointD
public static PointD GetInitialDragLocation(
    ElementGroup elementGroup
)

参数

返回值

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

.NET Framework 安全性

请参见

参考

DragSourceContext 类

GetInitialDragLocation 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间