Spread Windows Forms 7.0 Product Documentation
PaintBackground(Graphics,Rectangle) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > GradientHeaderRenderer Class > PaintBackground Method : PaintBackground(Graphics,Rectangle) Method


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

Glossary Item Box

Paints the background of the gradient header cell.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Sub PaintBackground( _
   ByVal g As Graphics, _
   ByVal r As Rectangle _
) 
Visual Basic (Usage)Copy Code
Dim instance As GradientHeaderRenderer
Dim g As Graphics
Dim r As Rectangle
 
instance.PaintBackground(g, r)
C# 
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.