DropTargetContext::Set Method (Transaction^, Guid, PointD, GhostShapeCollection^)
Visual Studio 2015
Adds the drop target context information to the specified transaction for later use.
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.
Show: