Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / FieldsEditorControl Class / FieldPaint Event


In This Topic
    FieldPaint Event
    In This Topic
    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
    (Inherited from System.Windows.Forms.PaintEventArgs)
    Gets the field which triggers the FieldPaint event.  
    (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