DragSourceContext.GetInitialDragLocation Método

Definição

Sobrecargas

GetInitialDragLocation(ElementGroup)

Retorna o local do mouse (em coordenadas do mundo absoluto) quando o arrasto começa.Returns the location of the mouse (in absolute world coordinates) when drag began.

GetInitialDragLocation(ElementGroupPrototype)

Retorna o local do mouse (em coordenadas do mundo absoluto) quando o arrasto começa.Returns the location of the mouse (in absolute world coordinates) when drag began.

GetInitialDragLocation(ElementGroup)

Retorna o local do mouse (em coordenadas do mundo absoluto) quando o arrasto começa.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

Parâmetros

elementGroup
ElementGroup

O elemento em que o DragSourceContext foi salvo.The ElementGroup where the DragSourceContext has been saved to.

Retornos

PointD

O local do mouse (em coordenadas do mundo absoluto) quando o arrastar começou.The location of the mouse (in absolute world coordinates) when drag began.

Aplica-se a

GetInitialDragLocation(ElementGroupPrototype)

Retorna o local do mouse (em coordenadas do mundo absoluto) quando o arrasto começa.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

Parâmetros

elementGroupPrototype
ElementGroupPrototype

O ElementGroupPrototype em que o DragSourceContext foi salvo.The ElementGroupPrototype where the DragSourceContext has been saved to.

Retornos

PointD

O local do mouse (em coordenadas do mundo absoluto) quando o arrastar começou.The location of the mouse (in absolute world coordinates) when drag began.

Aplica-se a