Spread Windows Forms 7.0 Product Documentation
FieldPaint Event
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > FieldsEditorControl Class : FieldPaint Event


Glossary Item Box

Occurs when any field is painted.

Syntax

Visual Basic (Declaration) 
Public Event FieldPaint As EventHandler(Of FieldPaintEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As FieldsEditorControl
Dim handler As EventHandler(Of FieldPaintEventArgs)
 
AddHandler instance.FieldPaint, handler
C# 
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
ClipRectangle (Inherited from System.Windows.Forms.PaintEventArgs)Gets the rectangle in which to paint.
Field Gets the field which triggers the FieldPaint event.
Graphics (Inherited from System.Windows.Forms.PaintEventArgs)Gets the graphics used to paint.

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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.