'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.
Property | Description |
---|---|
ClipRectangle | Gets the rectangle in which to paint. (Inherited from System.Windows.Forms.PaintEventArgs) |
Field | Gets the field which triggers the FieldPaint event. |
Graphics | 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