共用方式為


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

'宣告
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

.NET Framework Security

See Also

Reference

ShapeElement Class

MoveByRepositioning Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace