編輯

共用方式為


SequentialWorkflowRootDesigner.OnPaint(ActivityDesignerPaintEventArgs) Method

Definition

Draws any headers and footers associated with the SequentialWorkflowRootDesigner.

protected:
 override void OnPaint(System::Workflow::ComponentModel::Design::ActivityDesignerPaintEventArgs ^ e);
protected override void OnPaint (System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs e);
override this.OnPaint : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs -> unit
Protected Overrides Sub OnPaint (e As ActivityDesignerPaintEventArgs)

Parameters

Exceptions

e contains a null reference (Nothing in Visual Basic).

Remarks

OnPaint draws any text to include in the headers and footers with the appropriate theme settings. It also draws any images to include in the headers and footers.

Note When you override OnPaint in a derived class, be sure to call the OnPaint method of the base class so that registered delegates receive the event.

Applies to