Spread Windows Forms 12.0 Product Documentation
FieldPaint Event


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > FieldsEditorControl Class : FieldPaint Event
Occurs when any field is painted.
Syntax
'Declaration
 
Public Event FieldPaint As EventHandler(Of FieldPaintEventArgs)
'Usage
 
Dim instance As FieldsEditorControl
Dim handler As EventHandler(Of FieldPaintEventArgs)
 
AddHandler instance.FieldPaint, handler
public event EventHandler<FieldPaintEventArgs> FieldPaint
Event Data

The event handler receives an argument of type FieldPaintEventArgs containing data related to this event. The following FieldPaintEventArgs properties provide information specific to this event.

PropertyDescription
Gets the rectangle in which to paint. (Inherited from System.Windows.Forms.PaintEventArgs)
Gets the field which triggers the FieldPaint event.  
Gets the graphics used to paint. (Inherited from System.Windows.Forms.PaintEventArgs)
Remarks
This event is raised when the field is redrawn. It passes an instance of FieldPaintEventArgs to the method(s) that handles the FieldPaint event.
See Also