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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : PaintBackground Method
A GridPaintEventArgs that contains the event data.
Paints the background of the grid element.
Syntax
'Declaration
 
Protected Friend Overridable Sub PaintBackground( _
   ByVal e As GridPaintEventArgs _
) 
'Usage
 
Dim instance As VisualGridElement
Dim e As GridPaintEventArgs
 
instance.PaintBackground(e)
protected internal virtual 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 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

VisualGridElement Class
VisualGridElement Members
PaintForeground Method
PaintBorders Method