Diagram.ReparentSwimlaneChild 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将节点形状从一个泳道 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
注解
此方法必须在建模事务中调用。