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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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.ElementGroupPrototypeThe group that contains the shapes to move.
topLevelItems
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollectionThe collection of top-level shapes in the group.
moveDelta
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe new placement of the shapes.
hitDiagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe 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.