System.Windows.Forms.PaintEventArgs Class

Provides data for the Control.Paint event.

See Also: PaintEventArgs Members

Syntax

public class PaintEventArgs : EventArgs, IDisposable

Remarks

The Control.Paint event occurs when a control is redrawn. A System.Windows.Forms.PaintEventArgs specifies the PaintEventArgs.Graphics to use to paint the control and the PaintEventArgs.ClipRectangle in which to paint.

For information about the event model, see [<topic://cpconEventsDelegates>].

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0