SequentialWorkflowRootDesigner.OnPaint(ActivityDesignerPaintEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The ActivityDesignerPaintEventArgs that contains the event data.
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.