Xceed Grid for WinForms v4.3 Documentation
PaintBackground Method (RowSelector)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > RowSelector Class : PaintBackground Method
A GridPaintEventArgs that contains the event data.
Paints the background of the RowSelector.
Syntax
'Declaration
 
Protected Friend Overrides Sub PaintBackground( _
   ByVal e As GridPaintEventArgs _
) 
'Usage
 
Dim instance As RowSelector
Dim e As GridPaintEventArgs
 
instance.PaintBackground(e)
protected internal override void PaintBackground( 
   GridPaintEventArgs e
)

Parameters

e
A GridPaintEventArgs that contains the event data.
Remarks

Painting must be done with the rectangles received in the GridPaintEventArgs otherwise the grid element will not print correctly.

When painting, the point conversion methods such as VisualGridElement.PointToClient should not be used.
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

Reference

RowSelector Class
RowSelector Members
Base Implementation in PaintBackground
PaintForeground Method
PaintBorders Method