다음을 통해 공유


DesignSurfaceElementOperations.AddGhostShapesContext Method

Adds a GhostShapeCollection to the ElementGroupPrototype in the specified IDataObject.

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 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