DragSourceContext.GetInitialDragLocation Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| GetInitialDragLocation(ElementGroup) |
Gibt die Position des Mauszeigers zurück (in absoluten globalen Koordinaten), wenn der Zieh Vorgang begonnen hat. |
| GetInitialDragLocation(ElementGroupPrototype) |
Gibt die Position des Mauszeigers zurück (in absoluten globalen Koordinaten), wenn der Zieh Vorgang begonnen hat. |
GetInitialDragLocation(ElementGroup)
Gibt die Position des Mauszeigers zurück (in absoluten globalen Koordinaten), wenn der Zieh Vorgang begonnen hat.
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
Parameter
- elementGroup
- ElementGroup
Die Element Gruppe, in der der DragSourceContext gespeichert wurde.
Gibt zurück
Die Position des Mauszeigers (in absoluten Weltkoordinaten), wenn der Zieh Vorgang begonnen hat.
Gilt für
GetInitialDragLocation(ElementGroupPrototype)
Gibt die Position des Mauszeigers zurück (in absoluten globalen Koordinaten), wenn der Zieh Vorgang begonnen hat.
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
Parameter
- elementGroupPrototype
- ElementGroupPrototype
Der Element groupprototype, in dem der DragSourceContext gespeichert wurde.
Gibt zurück
Die Position des Mauszeigers (in absoluten Weltkoordinaten), wenn der Zieh Vorgang begonnen hat.