Spread Windows Forms 12.0 Product Documentation
Paint Event (DisplayField)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DisplayField Class : Paint Event
Occurs when the display field is redrawn.
Syntax
'Declaration
 
Public Event Paint As PaintEventHandler
'Usage
 
Dim instance As DisplayField
Dim handler As PaintEventHandler
 
AddHandler instance.Paint, handler
public event PaintEventHandler Paint
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
Gets the rectangle in which to paint.  
Gets the graphics used to paint.  
See Also