Leadtools.WinForms Namespace > RasterImageList Class : PaintBackground Event |
public event PaintEventHandler PaintBackground
'Declaration Public Event PaintBackground As PaintEventHandler
'Usage Dim instance As RasterImageList Dim handler As PaintEventHandler AddHandler instance.PaintBackground, handler
public: event PaintEventHandler^ PaintBackground
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. |
This event is fired from within the System.Windows.Forms.Control.Paint event of this control.
The event handler receives an argument of type System.Windows.Forms.PaintEventArgs containing data related to this event. The following System.Windows.Forms.PaintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
System.Windows.Forms.PaintEventArgs.ClipRectangle | Gets the rectangle in which to paint. |
System.Windows.Forms.PaintEventArgs.Graphics | Gets the graphics used to paint. |