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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Sub MoveByRepositioning ( _
elementGroupPrototype As ElementGroupPrototype, _
topLevelItems As DiagramItemCollection, _
moveDelta As PointD, _
hitDiagramItem As DiagramItem _
)
'使用
Dim instance As ShapeElement
Dim elementGroupPrototype As ElementGroupPrototype
Dim topLevelItems As DiagramItemCollection
Dim moveDelta As PointD
Dim hitDiagramItem As DiagramItem
instance.MoveByRepositioning(elementGroupPrototype, _
topLevelItems, moveDelta, hitDiagramItem)
public virtual void MoveByRepositioning(
ElementGroupPrototype elementGroupPrototype,
DiagramItemCollection topLevelItems,
PointD moveDelta,
DiagramItem hitDiagramItem
)
public:
virtual void MoveByRepositioning(
ElementGroupPrototype^ elementGroupPrototype,
DiagramItemCollection^ topLevelItems,
PointD moveDelta,
DiagramItem^ hitDiagramItem
)
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.
Permissions
- 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.