DragSourceContext.GetInitialDragLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.