DropTargetContext::Set Method (Transaction^, Guid, PointD, GhostShapeCollection^)

 

Adds the drop target context information to the specified transaction for later use.

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 Set(
	Transaction^ transaction,
	Guid targetDiagramId,
	PointD dropLocation,
	GhostShapeCollection^ ghostShapes
)

Parameters

transaction
Type: Microsoft.VisualStudio.Modeling::Transaction^

The transaction in which to save the drop target context.

targetDiagramId
Type: System::Guid

The diagram Id of the drop target.

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

The drop location in absolute world coordinates.

ghostShapes
Type: Microsoft.VisualStudio.Modeling.Diagrams::GhostShapeCollection^

The ghost shapes which provide proposed properties (such as proposed bounds). This may be null.

Return to top
Show: