Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / CanvasContainerBase Class / OnPaintBackground Method / OnPaintBackground(Graphics,Rectangle) Method
Graphics object
Coordinates of the control to paint


In This Topic
    OnPaintBackground(Graphics,Rectangle) Method
    In This Topic
    Paints the background of the control.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub OnPaintBackground( _
       ByVal g As Graphics, _
       ByVal rectInput As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As CanvasContainerBase
    Dim g As Graphics
    Dim rectInput As Rectangle
     
    instance.OnPaintBackground(g, rectInput)
    public virtual void OnPaintBackground( 
       Graphics g,
       Rectangle rectInput
    )

    Parameters

    g
    Graphics object
    rectInput
    Coordinates of the control to paint
    See Also