| 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  | |
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.
| Property | Description | 
|---|---|
| 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. | 
This event is raised when the field is redrawn. It passes an instance of FieldPaintEventArgs to the method(s) that handles the FieldPaint event.
            
            
            
            
            Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8