Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds drag source information to the ElementGroupPrototype's source context.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Shared Sub Set ( _
elementGroupPrototype As ElementGroupPrototype, _
initialDragLocation As PointD, _
ghostShapes As GhostShapeCollection _
)
public static void Set(
ElementGroupPrototype elementGroupPrototype,
PointD initialDragLocation,
GhostShapeCollection ghostShapes
)
public:
static void Set(
ElementGroupPrototype^ elementGroupPrototype,
PointD initialDragLocation,
GhostShapeCollection^ ghostShapes
)
static member Set :
elementGroupPrototype:ElementGroupPrototype *
initialDragLocation:PointD *
ghostShapes:GhostShapeCollection -> unit
public static function Set(
elementGroupPrototype : ElementGroupPrototype,
initialDragLocation : PointD,
ghostShapes : GhostShapeCollection
)
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype to add the information to.
- initialDragLocation
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The initial location of the mouse in absolute world coordinates.
- ghostShapes
Type: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
A collection of ghost shapes that represents all the shapes in the ElementGroupPrototype.
.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.