ShapeElement.MoveByRepositioning Method (ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem)
Repositions the shapes in the group by the amount that the position of the mouse determines.
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 Overridable Sub MoveByRepositioning ( _
elementGroupPrototype As ElementGroupPrototype, _
topLevelItems As DiagramItemCollection, _
moveDelta As PointD, _
hitDiagramItem As DiagramItem _
)
public virtual void MoveByRepositioning(
ElementGroupPrototype elementGroupPrototype,
DiagramItemCollection topLevelItems,
PointD moveDelta,
DiagramItem hitDiagramItem
)
public:
virtual void MoveByRepositioning(
ElementGroupPrototype^ elementGroupPrototype,
DiagramItemCollection^ topLevelItems,
PointD moveDelta,
DiagramItem^ hitDiagramItem
)
abstract MoveByRepositioning :
elementGroupPrototype:ElementGroupPrototype *
topLevelItems:DiagramItemCollection *
moveDelta:PointD *
hitDiagramItem:DiagramItem -> unit
override MoveByRepositioning :
elementGroupPrototype:ElementGroupPrototype *
topLevelItems:DiagramItemCollection *
moveDelta:PointD *
hitDiagramItem:DiagramItem -> unit
public function MoveByRepositioning(
elementGroupPrototype : ElementGroupPrototype,
topLevelItems : DiagramItemCollection,
moveDelta : PointD,
hitDiagramItem : DiagramItem
)
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The group that contains the shapes to move.
- topLevelItems
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
The collection of top-level shapes in the group.
- moveDelta
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The new placement of the shapes.
- hitDiagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The shape upon which to perform the hit test.
.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.