WorkflowDesignerMessageFilter::OnPaintWorkflowAdornments Method (PaintEventArgs^, Rectangle, AmbientTheme^)

 

Occurs when the workflow should repaint its adornments.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected:
virtual bool OnPaintWorkflowAdornments(
	PaintEventArgs^ eventArgs,
	Rectangle viewPort,
	AmbientTheme^ ambientTheme
)

Parameters

eventArgs
Type: System.Windows.Forms::PaintEventArgs^

A PaintEventArgs that contains information about the event.

viewPort
Type: System.Drawing::Rectangle

A Rectangle that describes the area to be painted.

ambientTheme
Type: System.Workflow.ComponentModel.Design::AmbientTheme^

An AmbientTheme used to obtain information about the theme.

Return Value

Type: System::Boolean

true if the message is handled; otherwise, false.

OnPaintWorkflowAdornments occurs when the workflow should repaint its adornments.

.NET Framework
Available since 3.0
Return to top
Show: