'Declaration Public Event Paint As SmartPaintEventHandler
'Usage Dim instance As SmartBorders Dim handler As SmartPaintEventHandler AddHandler instance.Paint, handler
public event SmartPaintEventHandler Paint
Event Data
The event handler receives an argument of type SmartPaintEventArgs containing data related to this event. The following SmartPaintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Bounds | Gets the rectangle that represents the bounds of the SmartControl being drawn. |
Graphics | Gets the System.Drawing.Graphics object used to draw. |
SmartPaint | Gets a reference to a SmartPaint object which contains various drawing methods. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also