Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / CanvasBase Class / OnPaint Method / OnPaint(PaintEventArgs) Method
Event arguments


In This Topic
    OnPaint(PaintEventArgs) Method
    In This Topic
    Raises the Paint event when the element has been asked to repaint itself.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Sub OnPaint( _
       ByVal e As PaintEventArgs _
    ) 
    'Usage
     
    
    Dim instance As CanvasBase
    Dim e As PaintEventArgs
     
    instance.OnPaint(e)
    protected virtual void OnPaint( 
       PaintEventArgs e
    )

    Parameters

    e
    Event arguments
    See Also