Xceed Grid for WinForms v4.3 Documentation
PaintForeground Method (ColumnManagerCell)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > ColumnManagerCell Class : PaintForeground Method
A GridPaintEventArgs that contains the event data.
Paints the foreground of the ColumnManagerCell.
Syntax
'Declaration
 
Protected Friend Overrides Sub PaintForeground( _

   ByVal e As GridPaintEventArgs _

) 
'Usage
 
Dim instance As ColumnManagerCell

Dim e As GridPaintEventArgs

 

instance.PaintForeground(e)
protected internal override void PaintForeground( 

   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

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