LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

PaintBackground Event (RasterImageList)






Occurs when the background of the control is redrawn.
Syntax
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
add_PaintBackground(function(sender, e))
remove_PaintBackground(function(sender, e))

public:
event PaintEventHandler^ PaintBackground
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.

PropertyDescription
ClipRectangle Gets the rectangle in which to paint.
Graphics Gets the graphics used to paint.
Remarks

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.

Example
For an example, refer to RasterImageList.
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

Reference

RasterImageList Class
RasterImageList Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.