DesignSurfaceElementOperations::AddGhostShapesContext Method (IDataObject^, Diagram^, PointD)

 

Adds a GhostShapeCollection to the ElementGroupPrototype in the specified IDataObject.

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

public:
static void AddGhostShapesContext(
	IDataObject^ data,
	Diagram^ diagram,
	PointD initialDragLocation
)

Parameters

data
Type: System.Windows.Forms::IDataObject^

The IDataObject that contains an ElementGroupPrototype to update.

diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams::Diagram^

The source diagram.

initialDragLocation
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The initial location of the mouse in absolute world coordinates.

Return to top
Show: