Connector.OnPaintEdited 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于在将连接器从一种状态拖到另一种状态时绘制连接器。
protected public:
virtual void OnPaintEdited(System::Workflow::ComponentModel::Design::ActivityDesignerPaintEventArgs ^ e, cli::array <System::Drawing::Point> ^ segments, cli::array <System::Drawing::Point> ^ segmentEditPoints);
protected internal virtual void OnPaintEdited (System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs e, System.Drawing.Point[] segments, System.Drawing.Point[] segmentEditPoints);
abstract member OnPaintEdited : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs * System.Drawing.Point[] * System.Drawing.Point[] -> unit
override this.OnPaintEdited : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs * System.Drawing.Point[] * System.Drawing.Point[] -> unit
Protected Friend Overridable Sub OnPaintEdited (e As ActivityDesignerPaintEventArgs, segments As Point(), segmentEditPoints As Point())
参数
一个 ActivityDesignerPaintEventArgs 对象,指定要用于绘制对象的图形以及在其中绘制对象的剪辑矩形。
注解
当用户创建连接器、移动中心点或将终结点从一个活动移到另一个活动时,会调用此方法。