Diagram.ReparentSwimlaneChild 方法

定义

将节点形状从一个泳道 Reparents 到另一个泳道。

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)

参数

child
NodeShape

节点形状。

newParent
SwimlaneShape

新泳道父级。

ghostShapes
GhostShapeCollection
ghostShape
GhostShape
proposedLocationDelta
PointD

注解

此方法必须在建模事务中调用。

适用于