Xceed SmartUI for WinForms v3.6 Documentation
Paint Event (SmartBorders)


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartBorders Class : Paint Event
Raised when a SmartBorders is being painted.
Syntax
'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.

PropertyDescription
Gets the rectangle that represents the bounds of the SmartControl being drawn.  
Gets the System.Drawing.Graphics object used to draw.  
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