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


In This Topic
    PaintCellBackground Method
    In This Topic
    Paints the background of the cell.
    Syntax
    'Declaration
     
    Protected Friend Overridable Sub PaintCellBackground( _
       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.PaintCellBackground(cell, e, handled)
    protected internal virtual void PaintCellBackground( 
       Cell cell,
       GridPaintEventArgs e,
       ref bool handled
    )

    Parameters

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