Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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