FreeformActivityDesigner.OnContainedDesignersConnected(ConnectionPoint, ConnectionPoint) 方法
定义
在 FreeformActivityDesigner 包含的两个活动设计器之间建立连接后,将向它发出通知。Notifies the FreeformActivityDesigner when a connection has been established between two of its contained activity designers.
protected public:
virtual void OnContainedDesignersConnected(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected internal virtual void OnContainedDesignersConnected (System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member OnContainedDesignersConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
override this.OnContainedDesignersConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
Protected Friend Overridable Sub OnContainedDesignersConnected (source As ConnectionPoint, target As ConnectionPoint)
参数
- source
- ConnectionPoint
要开始绘制连接器的 ConnectionPoint 位置。The ConnectionPoint location to begin drawing the connector.
- target
- ConnectionPoint
要完成连接器绘制的 ConnectionPoint 位置。The ConnectionPoint location to finish drawing the connector.
注解
OnContainedDesignersConnected 当在某个 Connector 对象的包含的活动设计器上的源之间绘制时,将调用, FreeformActivityDesigner 以在另一个包含的活动设计器上定位。OnContainedDesignersConnected is called when a Connector is drawn between the source on one of the FreeformActivityDesigner object's contained activity designers to target on a second contained activity designer.