DropTargetContext.GetGhostShapes Method
Gets the ghost shapes which provide proposed properties (such as the proposed bounds) for the shapes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Shared Function GetGhostShapes ( _
transaction As Transaction _
) As GhostShapeCollection
public static GhostShapeCollection GetGhostShapes(
Transaction transaction
)
public:
static GhostShapeCollection^ GetGhostShapes(
Transaction^ transaction
)
static member GetGhostShapes :
transaction:Transaction -> GhostShapeCollection
public static function GetGhostShapes(
transaction : Transaction
) : GhostShapeCollection
Parameters
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe transaction to check for the drop target context.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.