The event handler receives an argument of type SmartItemPaintEventArgs containing data related to this event. The following SmartItemPaintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Bounds | Gets the rectangle that represents the bounds of the SmartItem being drawn. |
Graphics | Gets the System.Drawing.Graphics object used to draw. |
Item | Gets a reference to the SmartItem being drawn. |
SmartPaint | Gets a reference to a SmartPaint object which contains various drawing methods. |
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