[]
Gets a Brush object used to paint the cell background for a specific cell type.
public virtual Brush GetBackgroundBrush(C1FlexGridBase flex, C1FlexGridRenderer.CellType cellType, Rectangle bounds)
| Type | Name | Description |
|---|---|---|
| C1FlexGridBase | flex | C1FlexGridBase that contains the cell being drawn. |
| C1FlexGridRenderer.CellType | cellType | C1FlexGridRenderer.CellType value that determines the type of cell being drawn. |
| Rectangle | bounds | A Rectangle that represents the bounds of the cell being drawn. |
| Type | Description |
|---|---|
| Brush | A Brush object used to render the cell background. |
The bounds parameter can be used to create or select complex brushes such as
gradient or tiled image brushes.