BCGControlBar Library for .NET
FillCellBackground Method




Graphics context.
Cell bounding rectangle.
Cell state.
Cell visual style.
Specifies whether a cell is located in sorted column. If true and GridVisualStyleDef.SortedColumnBackColor is not empty and cell is not selected or highlighted, cell's background is filled by this color.
Draws cell background.
Syntax
'Declaration
 
Public Sub FillCellBackground( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal state As CellState, _
   ByVal visualStyle As GridCellVisualStyle, _
   ByVal isCellInSortedColumn As Boolean _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim bounds As Rectangle
Dim state As CellState
Dim visualStyle As GridCellVisualStyle
Dim isCellInSortedColumn As Boolean
 
instance.FillCellBackground(grph, bounds, state, visualStyle, isCellInSortedColumn)
public void FillCellBackground( 
   Graphics grph,
   Rectangle bounds,
   CellState state,
   GridCellVisualStyle visualStyle,
   bool isCellInSortedColumn
)
public: void FillCellBackground( 
   Graphics* grph,
   Rectangle bounds,
   CellState state,
   GridCellVisualStyle* visualStyle,
   bool isCellInSortedColumn
) 
public:
void FillCellBackground( 
   Graphics^ grph,
   Rectangle bounds,
   CellState state,
   GridCellVisualStyle^ visualStyle,
   bool isCellInSortedColumn
) 

Parameters

grph
Graphics context.
bounds
Cell bounding rectangle.
state
Cell state.
visualStyle
Cell visual style.
isCellInSortedColumn
Specifies whether a cell is located in sorted column. If true and GridVisualStyleDef.SortedColumnBackColor is not empty and cell is not selected or highlighted, cell's background is filled by this color.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridControl Class
GridControl Members

Send Feedback