DragSourceContext.GetInitialDragLocation Method (ElementGroupPrototype)
Returns the location of the mouse (in absolute world coordinates) when drag began.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Shared Function GetInitialDragLocation ( _
elementGroupPrototype As ElementGroupPrototype _
) As PointD
public static PointD GetInitialDragLocation(
ElementGroupPrototype elementGroupPrototype
)
public:
static PointD GetInitialDragLocation(
ElementGroupPrototype^ elementGroupPrototype
)
static member GetInitialDragLocation :
elementGroupPrototype:ElementGroupPrototype -> PointD
public static function GetInitialDragLocation(
elementGroupPrototype : ElementGroupPrototype
) : PointD
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype where the DragSourceContext has been saved to.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.