True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / GridRenderer Class / GetBackgroundBrush Method
The grid.
Type of the cell.
The r.

In This Topic
    GetBackgroundBrush Method (GridRenderer)
    In This Topic
    Gets the background brush.
    Syntax
    'Declaration
     
    Public Overridable Function GetBackgroundBrush( _
       ByVal grid As Frame, _
       ByVal cellType As GridRenderer.CellType, _
       ByVal r As System.Drawing.Rectangle _
    ) As System.Drawing.Brush
    public virtual System.Drawing.Brush GetBackgroundBrush( 
       Frame grid,
       GridRenderer.CellType cellType,
       System.Drawing.Rectangle r
    )

    Parameters

    grid
    The grid.
    cellType
    Type of the cell.
    r
    The r.
    See Also