C1.Win.C1FlexGrid Namespace / GridRendererOffice2007 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 (GridRendererOffice2007)
In This Topic
Gets the background brush for a cell.
Syntax
'Declaration
 
Public Overrides Function GetBackgroundBrush( _
   ByVal flex As C1FlexGridBase, _
   ByVal cellType As C1FlexGridRenderer.CellType, _
   ByVal r As Rectangle _
) As Brush
 

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