Compartilhar via


DesignSurfaceElementOperations.AddGhostShapesContext Method

Adds a GhostShapeCollection to the ElementGroupPrototype in the specified IDataObject.

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

Syntax

'Declaração
Public Shared Sub AddGhostShapesContext ( _
    data As IDataObject, _
    diagram As Diagram, _
    initialDragLocation As PointD _
)
public static void AddGhostShapesContext(
    IDataObject data,
    Diagram diagram,
    PointD initialDragLocation
)
public:
static void AddGhostShapesContext(
    IDataObject^ data, 
    Diagram^ diagram, 
    PointD initialDragLocation
)
static member AddGhostShapesContext : 
        data:IDataObject * 
        diagram:Diagram * 
        initialDragLocation:PointD -> unit 
public static function AddGhostShapesContext(
    data : IDataObject, 
    diagram : Diagram, 
    initialDragLocation : PointD
)

Parameters

.NET Framework Security

See Also

Reference

DesignSurfaceElementOperations Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace