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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::DragSourceContext

[SerializableAttribute]
public ref class DragSourceContext 

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetDiagramId(ElementGroup^)

Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

System_CAPS_pubmethodSystem_CAPS_staticGetDiagramId(ElementGroupPrototype^)

Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

System_CAPS_pubmethodSystem_CAPS_staticGetGhostShapes(ElementGroup^)

Gets the source ghost shape collection.

System_CAPS_pubmethodSystem_CAPS_staticGetGhostShapes(ElementGroupPrototype^)

Gets the source ghost shape collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetInitialBoundingBox(ElementGroup^)

Returns the bounding box (in absolute world coordinates) encompassing all the shapes.

System_CAPS_pubmethodSystem_CAPS_staticGetInitialBoundingBox(ElementGroupPrototype^)

Returns the bounding box (in absolute world coordinates) encompassing all the shapes.

System_CAPS_pubmethodSystem_CAPS_staticGetInitialDragLocation(ElementGroup^)

Returns the location of the mouse (in absolute world coordinates) when drag began.

System_CAPS_pubmethodSystem_CAPS_staticGetInitialDragLocation(ElementGroupPrototype^)

Returns the location of the mouse (in absolute world coordinates) when drag began.

System_CAPS_pubmethodSystem_CAPS_staticGetInitialPrimaryShapeBounds(ElementGroup^)

Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

System_CAPS_pubmethodSystem_CAPS_staticGetInitialPrimaryShapeBounds(ElementGroupPrototype^)

Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

System_CAPS_pubmethodSystem_CAPS_staticGetInitialPrimaryShapeId(ElementGroup^)

Returns the Guid of the primary shape in the ElementGroupPototype.

System_CAPS_pubmethodSystem_CAPS_staticGetInitialPrimaryShapeId(ElementGroupPrototype^)

Returns the Guid of the primary shape in the ElementGroupPototype.

System_CAPS_pubmethodSystem_CAPS_staticGetProcessId(ElementGroup^)

Gets the source process id. This can return 0 if no process id was specified or no drag source context is available.

System_CAPS_pubmethodSystem_CAPS_staticGetProcessId(ElementGroupPrototype^)

Gets the source process id. This can return 0 if no process id was specified or no drag source context is available.

System_CAPS_pubmethodSystem_CAPS_staticGetStoreId(ElementGroup^)

Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available.

System_CAPS_pubmethodSystem_CAPS_staticGetStoreId(ElementGroupPrototype^)

Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticSet(ElementGroupPrototype^, PointD, GhostShapeCollection^)

Adds drag source information to the ElementGroupPrototype's source context.

System_CAPS_pubmethodToString()

(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.

Return to top
Show: