DragSourceContext.Set Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds drag source information to the ElementGroupPrototype's source context.
public:
static void Set(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype, Microsoft::VisualStudio::Modeling::Diagrams::PointD initialDragLocation, Microsoft::VisualStudio::Modeling::Diagrams::GhostShapeCollection ^ ghostShapes);
public static void Set (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype, Microsoft.VisualStudio.Modeling.Diagrams.PointD initialDragLocation, Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection ghostShapes);
static member Set : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection -> unit
Public Shared Sub Set (elementGroupPrototype As ElementGroupPrototype, initialDragLocation As PointD, ghostShapes As GhostShapeCollection)
Parameters
- elementGroupPrototype
- ElementGroupPrototype
The ElementGroupPrototype to add the information to.
- initialDragLocation
- PointD
The initial location of the mouse in absolute world coordinates.
- ghostShapes
- GhostShapeCollection
A collection of ghost shapes that represents all the shapes in the ElementGroupPrototype.