WorkflowDesignerMessageFilter::OnPaint Method (PaintEventArgs^, Rectangle, AmbientTheme^)
.NET Framework (current version)
Occurs when a paint message is received.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
protected: virtual bool OnPaint( 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^
A AmbientTheme used to obtain information about the theme.
OnPaint occurs when a paint message is received. Use the parameters passed to OnPaint to determine the area to be painted, the theme used, and additional information about the event passed in the PaintEventArgs.
.NET Framework
Available since 3.0
Available since 3.0
Show: