Partilhar via


DragSourceContext.GetInitialDragLocation Method

Definition

Overloads

GetInitialDragLocation(ElementGroup)

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

GetInitialDragLocation(ElementGroupPrototype)

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

GetInitialDragLocation(ElementGroup)

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

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::PointD GetInitialDragLocation(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public static Microsoft.VisualStudio.Modeling.Diagrams.PointD GetInitialDragLocation (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
static member GetInitialDragLocation : Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Shared Function GetInitialDragLocation (elementGroup As ElementGroup) As PointD

Parameters

elementGroup
ElementGroup

The ElementGroup where the DragSourceContext has been saved to.

Returns

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

Applies to

GetInitialDragLocation(ElementGroupPrototype)

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

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::PointD GetInitialDragLocation(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public static Microsoft.VisualStudio.Modeling.Diagrams.PointD GetInitialDragLocation (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
static member GetInitialDragLocation : Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Shared Function GetInitialDragLocation (elementGroupPrototype As ElementGroupPrototype) As PointD

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype where the DragSourceContext has been saved to.

Returns

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

Applies to