Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementControl Class / OnPaintBackground Method / OnPaintBackground(Graphics,Rectangle) Method
Graphics device
Coordinates of the element


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

    Parameters

    g
    Graphics device
    rectInput
    Coordinates of the element
    See Also