共用方式為


DragSourceContext.GetInitialDragLocation Method (ElementGroup)

Returns the location of the mouse (in absolute world coordinates) when drag began.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Shared Function GetInitialDragLocation ( _
    elementGroup As ElementGroup _
) As PointD
public static PointD GetInitialDragLocation(
    ElementGroup elementGroup
)
public:
static PointD GetInitialDragLocation(
    ElementGroup^ elementGroup
)
static member GetInitialDragLocation : 
        elementGroup:ElementGroup -> PointD 
public static function GetInitialDragLocation(
    elementGroup : ElementGroup
) : PointD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetInitialDragLocation Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace