BCGControlBar Library for .NET
DrawCellBorders Method




A Graphics object.
Cell bounding rectangle.
Specifies the cell state.
Cell's visual style.
Cell object whose borders should be drawn.
Called by the painting code to draw cell borders.
Syntax
'Declaration
 
Public Sub DrawCellBorders( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal state As CellState, _
   ByVal visualStyle As GridCellVisualStyle, _
   ByVal cell As Cell _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim bounds As Rectangle
Dim state As CellState
Dim visualStyle As GridCellVisualStyle
Dim cell As Cell
 
instance.DrawCellBorders(grph, bounds, state, visualStyle, cell)
public void DrawCellBorders( 
   Graphics grph,
   Rectangle bounds,
   CellState state,
   GridCellVisualStyle visualStyle,
   Cell cell
)
public: void DrawCellBorders( 
   Graphics* grph,
   Rectangle bounds,
   CellState state,
   GridCellVisualStyle* visualStyle,
   Cell* cell
) 
public:
void DrawCellBorders( 
   Graphics^ grph,
   Rectangle bounds,
   CellState state,
   GridCellVisualStyle^ visualStyle,
   Cell^ cell
) 

Parameters

grph
A Graphics object.
bounds
Cell bounding rectangle.
state
Specifies the cell state.
visualStyle
Cell's visual style.
cell
Cell object whose borders should be drawn.
Remarks
This method is called when Grid control needs to draw cell borders.
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