Redigera

Dela via


Connector.OnPaintEdited Method

Definition

Used for drawing the Connector when it is dragged from one state to another.

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())

Parameters

e
ActivityDesignerPaintEventArgs

An ActivityDesignerPaintEventArgs object that specifies the graphics to use to draw the object and the clipping rectangle in which to draw it.

segments
Point[]

Coordinates for the segments in the Connector.

segmentEditPoints
Point[]

Coordinated for the edit points on the Connector.

Remarks

This method is called when a user is creating a connector, moving a middle point or moving an endpoint from one activity to another.

Applies to