Syntax
Visual Basic (Declaration) | |
---|
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Occurs when a control needs repainting.")>
Public Event Paint As PaintEventHandler |
C# | |
---|
[SRCategoryAttribute("Appearance")]
[SRDescriptionAttribute("Occurs when a control needs repainting.")]
public event PaintEventHandler Paint |
Event Data
The event handler receives an argument of type 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. |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also