Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DisplayField Class / Paint Event


In This Topic
    Paint Event (DisplayField)
    In This Topic
    Occurs when the display field is redrawn.
    Syntax
    'Declaration
     
    
    Public Event Paint As PaintEventHandler
    'Usage
     
    
    Dim instance As DisplayField
    Dim handler As PaintEventHandler
     
    AddHandler instance.Paint, handler
    public event PaintEventHandler Paint
    Event Data

    The event handler receives an argument of type PaintEventArgs containing data related to this event. The following PaintEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the rectangle in which to paint.  
    Gets the graphics used to paint.  
    See Also