Spread Windows Forms 8.0 Product Documentation
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
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

Reference

FieldsEditorControl Class
FieldsEditorControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.