Partager via


Diagram.ReparentSwimlaneChild Method

Definition

Reparents a node shape from one swimlane to another.

protected:
 virtual void ReparentSwimlaneChild(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ child, Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ newParent, Microsoft::VisualStudio::Modeling::Diagrams::GhostShapeCollection ^ ghostShapes, Microsoft::VisualStudio::Modeling::Diagrams::GhostShape ^ ghostShape, Microsoft::VisualStudio::Modeling::Diagrams::PointD proposedLocationDelta);
protected virtual void ReparentSwimlaneChild (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape child, Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape newParent, Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection ghostShapes, Microsoft.VisualStudio.Modeling.Diagrams.GhostShape ghostShape, Microsoft.VisualStudio.Modeling.Diagrams.PointD proposedLocationDelta);
abstract member ReparentSwimlaneChild : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection * Microsoft.VisualStudio.Modeling.Diagrams.GhostShape * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
override this.ReparentSwimlaneChild : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection * Microsoft.VisualStudio.Modeling.Diagrams.GhostShape * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
Protected Overridable Sub ReparentSwimlaneChild (child As NodeShape, newParent As SwimlaneShape, ghostShapes As GhostShapeCollection, ghostShape As GhostShape, proposedLocationDelta As PointD)

Parameters

child
NodeShape

The node shape.

newParent
SwimlaneShape

New swimlane parent.

ghostShapes
GhostShapeCollection
ghostShape
GhostShape
proposedLocationDelta
PointD

Remarks

This method must be called within a modeling transaction.

Applies to