Compartilhar via


DropTargetContext.GetGhostShapes(Transaction) Method

Definition

Gets the ghost shapes which provide proposed properties (such as the proposed bounds) for the shapes.

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::GhostShapeCollection ^ GetGhostShapes(Microsoft::VisualStudio::Modeling::Transaction ^ transaction);
public static Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection GetGhostShapes (Microsoft.VisualStudio.Modeling.Transaction transaction);
static member GetGhostShapes : Microsoft.VisualStudio.Modeling.Transaction -> Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
Public Shared Function GetGhostShapes (transaction As Transaction) As GhostShapeCollection

Parameters

transaction
Transaction

The transaction to check for the drop target context.

Returns

The ghost shapes which provide proposed properties (such as the proposed bounds) for the shapes.

Applies to