PaintForeground Method
See Also 
Xceed.Grid Assembly > Xceed.Grid Namespace > VisualGridElement Class : PaintForeground Method

e
A GridPaintEventArgs that contains the event data.
Paints the foreground of the grid element.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub PaintForeground( _
   ByVal e As GridPaintEventArgs _
) 
C# 
protected virtual 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 2000 Service Pack 3; Windows 98; Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows Vista Business; Windows Vista Business 64-bit edition; Windows Vista Enterprise; Windows Vista Enterprise 64-bit edition; Windows Vista Home Basic; Windows Vista Home Basic 64-bit edition; Windows Vista Home Premium; Windows Vista Home Premium 64-bit edition; Windows Vista Starter; Windows Vista Ultimate; Windows Vista Ultimate 64-bit edition; Windows XP Service Pack 2

Supported Frameworks: Microsoft .NET Framework version 2.0; Microsoft .NET Framework version 3.0

See Also