Spread Windows Forms 12.0 Product Documentation
PaintBackground(Graphics,Rectangle) Method


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
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

Reference

GradientHeaderRenderer Class
GradientHeaderRenderer Members
Overload List