Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / CellViewerManager Class / PaintCellForeground Method
A reference to the Xceed.Grid.Cell whose foreground is to be painted.
A Xceed.Grid.GridPaintEventArgs that contains the necessary information.
true if the cell's foreground was painted by the CellViewerManager; false if the cell painted its own foreground.


In This Topic
    PaintCellForeground Method
    In This Topic
    Paints the foreground of the cell.
    Syntax
    'Declaration
     
    Protected Friend Overridable Sub PaintCellForeground( _
       ByVal cell As Cell, _
       ByVal e As GridPaintEventArgs, _
       ByRef handled As Boolean _
    ) 
    'Usage
     
    Dim instance As CellViewerManager
    Dim cell As Cell
    Dim e As GridPaintEventArgs
    Dim handled As Boolean
     
    instance.PaintCellForeground(cell, e, handled)
    protected internal virtual void PaintCellForeground( 
       Cell cell,
       GridPaintEventArgs e,
       ref bool handled
    )

    Parameters

    cell
    A reference to the Xceed.Grid.Cell whose foreground is to be painted.
    e
    A Xceed.Grid.GridPaintEventArgs that contains the necessary information.
    handled
    true if the cell's foreground was painted by the CellViewerManager; false if the cell painted its own foreground.
    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