BCGControlBar Library for .NET
DrawCellsData Method




The Graphics of the Grid control.
Bounding rectangle of visible Grid area.
Collection of cells whose data should be drawn.
Bounding rectangle of Preview Pane text.
Bounding rectangle of Preview Pane background.
Called by the painting code to render data of all cells in the Grid visible area.
Syntax
'Declaration
 
Public Sub DrawCellsData( _
   ByVal grph As Graphics, _
   ByVal rectGridArea As Rectangle, _
   ByVal cells As ArrayList, _
   ByVal rectPreviewText As Rectangle, _
   ByVal rectPreviewBack As Rectangle _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim rectGridArea As Rectangle
Dim cells As ArrayList
Dim rectPreviewText As Rectangle
Dim rectPreviewBack As Rectangle
 
instance.DrawCellsData(grph, rectGridArea, cells, rectPreviewText, rectPreviewBack)
public void DrawCellsData( 
   Graphics grph,
   Rectangle rectGridArea,
   ArrayList cells,
   Rectangle rectPreviewText,
   Rectangle rectPreviewBack
)
public: void DrawCellsData( 
   Graphics* grph,
   Rectangle rectGridArea,
   ArrayList* cells,
   Rectangle rectPreviewText,
   Rectangle rectPreviewBack
) 
public:
void DrawCellsData( 
   Graphics^ grph,
   Rectangle rectGridArea,
   ArrayList^ cells,
   Rectangle rectPreviewText,
   Rectangle rectPreviewBack
) 

Parameters

grph
The Graphics of the Grid control.
rectGridArea
Bounding rectangle of visible Grid area.
cells
Collection of cells whose data should be drawn.
rectPreviewText
Bounding rectangle of Preview Pane text.
rectPreviewBack
Bounding rectangle of Preview Pane background.
Remarks
Layout rectangles of Preview Pane text and background are different, because preview text begins from a column that marked as GridColumn.CanBeginPreview.
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