BCGControlBar Library for .NET
DrawMarginCell Method




Graphics content.
Cell bounds.
Row index.
Row whose header is drawn.
Specifies whether a cell is highlighted.
Specifies whether it's the first visible row on the grid area.
Called to draw a left margin cell (row header).
Syntax
'Declaration
 
Public Overridable Sub DrawMarginCell( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal rowIndex As Integer, _
   ByVal row As GridDataRow, _
   ByVal highlighted As Boolean, _
   ByVal firstVisibleRow As Boolean _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim bounds As Rectangle
Dim rowIndex As Integer
Dim row As GridDataRow
Dim highlighted As Boolean
Dim firstVisibleRow As Boolean
 
instance.DrawMarginCell(grph, bounds, rowIndex, row, highlighted, firstVisibleRow)
public virtual void DrawMarginCell( 
   Graphics grph,
   Rectangle bounds,
   int rowIndex,
   GridDataRow row,
   bool highlighted,
   bool firstVisibleRow
)
public: virtual void DrawMarginCell( 
   Graphics* grph,
   Rectangle bounds,
   int rowIndex,
   GridDataRow* row,
   bool highlighted,
   bool firstVisibleRow
) 
public:
virtual void DrawMarginCell( 
   Graphics^ grph,
   Rectangle bounds,
   int rowIndex,
   GridDataRow^ row,
   bool highlighted,
   bool firstVisibleRow
) 

Parameters

grph
Graphics content.
bounds
Cell bounds.
rowIndex
Row index.
row
Row whose header is drawn.
highlighted
Specifies whether a cell is highlighted.
firstVisibleRow
Specifies whether it's the first visible row on the grid area.
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