Visual Basic (Declaration) | |
---|---|
Public Event Paint As System.Windows.Forms.PaintEventHandler |
C# | |
---|---|
public event System.Windows.Forms.PaintEventHandler Paint |
The event handler receives an argument of type System.Windows.Forms.PaintEventArgs containing data related to this event. The following PaintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ClipRectangle | Gets the rectangle in which to paint. |
Graphics | Gets the graphics used to paint. |