Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / GradientHeaderRenderer Class / PaintBackground Method / PaintBackground(Graphics,Rectangle) Method
Graphics device interface for painting the indicator
Location and size of the rectangular region in which to paint


In This Topic
    PaintBackground(Graphics,Rectangle) Method
    In This Topic
    Paints the background of the gradient header cell.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub PaintBackground( _
       ByVal g As Graphics, _
       ByVal r As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As GradientHeaderRenderer
    Dim g As Graphics
    Dim r As Rectangle
     
    instance.PaintBackground(g, r)
    public virtual void PaintBackground( 
       Graphics g,
       Rectangle r
    )

    Parameters

    g
    Graphics device interface for painting the indicator
    r
    Location and size of the rectangular region in which to paint
    See Also