Spread Windows Forms 9.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
ClipRectangleGets the rectangle in which to paint. (Inherited from System.Windows.Forms.PaintEventArgs)
FieldGets the field which triggers the FieldPaint event.  
GraphicsGets 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.
Requirements

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

See Also

Reference

FieldsEditorControl Class
FieldsEditorControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.