ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / GridRendererOffice2007Silver Class / GetBackgroundBrush Method
C1FlexGridBase that contains the cell.
C1FlexGridRenderer.CellType value that describes the type of cell being rendered.
System.Drawing.Rectangle that defines the cell bounds.

In This Topic
    GetBackgroundBrush Method (GridRendererOffice2007Silver)
    In This Topic
    Gets the background brush for a cell.
    Syntax
    'Declaration
     
    Public Overridable Function GetBackgroundBrush( _
       ByVal flex As C1FlexGridBase, _
       ByVal cellType As C1FlexGridRenderer.CellType, _
       ByVal r As Rectangle _
    ) As Brush
    public virtual Brush GetBackgroundBrush( 
       C1FlexGridBase flex,
       C1FlexGridRenderer.CellType cellType,
       Rectangle r
    )

    Parameters

    flex
    C1FlexGridBase that contains the cell.
    cellType
    C1FlexGridRenderer.CellType value that describes the type of cell being rendered.
    r
    System.Drawing.Rectangle that defines the cell bounds.

    Return Value

    A System.Drawing.Brush used to paint the cell.
    See Also