DragSourceContext Class
Provides drag source information which is initially set when the ElementGroupPrototype is created at the source. It is used for drag feedback and the merge (i.e., drop/paste) process.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() ![]() | GetDiagramId(ElementGroup^) | Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available. |
![]() ![]() | GetDiagramId(ElementGroupPrototype^) | Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available. |
![]() ![]() | GetGhostShapes(ElementGroup^) | Gets the source ghost shape collection. |
![]() ![]() | GetGhostShapes(ElementGroupPrototype^) | Gets the source ghost shape collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() ![]() | GetInitialBoundingBox(ElementGroup^) | Returns the bounding box (in absolute world coordinates) encompassing all the shapes. |
![]() ![]() | GetInitialBoundingBox(ElementGroupPrototype^) | Returns the bounding box (in absolute world coordinates) encompassing all the shapes. |
![]() ![]() | 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. |
![]() ![]() | GetInitialPrimaryShapeBounds(ElementGroup^) | Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype. |
![]() ![]() | GetInitialPrimaryShapeBounds(ElementGroupPrototype^) | Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype. |
![]() ![]() | GetInitialPrimaryShapeId(ElementGroup^) | Returns the Guid of the primary shape in the ElementGroupPototype. |
![]() ![]() | GetInitialPrimaryShapeId(ElementGroupPrototype^) | Returns the Guid of the primary shape in the ElementGroupPototype. |
![]() ![]() | GetProcessId(ElementGroup^) | Gets the source process id. This can return 0 if no process id was specified or no drag source context is available. |
![]() ![]() | GetProcessId(ElementGroupPrototype^) | Gets the source process id. This can return 0 if no process id was specified or no drag source context is available. |
![]() ![]() | GetStoreId(ElementGroup^) | Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available. |
![]() ![]() | GetStoreId(ElementGroupPrototype^) | Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() ![]() | Set(ElementGroupPrototype^, PointD, GhostShapeCollection^) | Adds drag source information to the ElementGroupPrototype's source context. |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


