[]
        
(Showing Draft Content)

C1.Win.FlexGrid.GridRendererOffice2007.GetBackgroundBrush

GetBackgroundBrush Method

GetBackgroundBrush(C1FlexGridBase, CellType, Rectangle)

Gets the background brush for a cell.

Declaration
public override Brush GetBackgroundBrush(C1FlexGridBase flex, C1FlexGridRenderer.CellType cellType, Rectangle r)
Public Overrides Function GetBackgroundBrush(flex As C1FlexGridBase, cellType As C1FlexGridRenderer.CellType, r As Rectangle) As Brush
Parameters
Type Name Description
C1FlexGridBase flex

C1FlexGridBase that contains the cell.

C1FlexGridRenderer.CellType cellType

C1FlexGridRenderer.CellType value that describes the type of cell being rendered.

Rectangle r

Rectangle that defines the cell bounds.

Returns
Type Description
Brush

A Brush used to paint the cell.

Overrides