DragSourceContext.GetInitialDragLocation Метод

Определение

Перегрузки

GetInitialDragLocation(ElementGroup)

Возвращает положение мыши в абсолютных мировых координатах при начале перетаскивания.

GetInitialDragLocation(ElementGroupPrototype)

Возвращает положение мыши в абсолютных мировых координатах при начале перетаскивания.

GetInitialDragLocation(ElementGroup)

Возвращает положение мыши в абсолютных мировых координатах при начале перетаскивания.

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

Параметры

elementGroup
ElementGroup

ElementGroup, где был сохранен DragSourceContext.

Возвращаемое значение

PointD

Положение указателя мыши (в абсолютных координатах мира) после начала перетаскивания.

Применяется к

GetInitialDragLocation(ElementGroupPrototype)

Возвращает положение мыши в абсолютных мировых координатах при начале перетаскивания.

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

Параметры

elementGroupPrototype
ElementGroupPrototype

ElementGroupPrototype, где был сохранен DragSourceContext.

Возвращаемое значение

PointD

Положение указателя мыши (в абсолютных координатах мира) после начала перетаскивания.

Применяется к