BCGControlBar Library for .NET
DrawMarginCellBorder Method




Graphics content.
Cell bounds.
Specifies whether to display "mark" state. "Mark" state is a special coloring indicating that there is at least one selected cell in the row.
Specifies whether the row, whose header is drawn, is selected.
Specifies whether the row, whose header is drawn, is highlighted.
Specifies whether it's the first visible row on the grid area.
Draws border of left margin cell (row header).
Syntax
'Declaration
 
Public Overridable Sub DrawMarginCellBorder( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal showMarkState As Boolean, _
   ByVal isRowSelected As Boolean, _
   ByVal highlighted As Boolean, _
   ByVal firstVisibleRow As Boolean _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim bounds As Rectangle
Dim showMarkState As Boolean
Dim isRowSelected As Boolean
Dim highlighted As Boolean
Dim firstVisibleRow As Boolean
 
instance.DrawMarginCellBorder(grph, bounds, showMarkState, isRowSelected, highlighted, firstVisibleRow)
public virtual void DrawMarginCellBorder( 
   Graphics grph,
   Rectangle bounds,
   bool showMarkState,
   bool isRowSelected,
   bool highlighted,
   bool firstVisibleRow
)
public: virtual void DrawMarginCellBorder( 
   Graphics* grph,
   Rectangle bounds,
   bool showMarkState,
   bool isRowSelected,
   bool highlighted,
   bool firstVisibleRow
) 
public:
virtual void DrawMarginCellBorder( 
   Graphics^ grph,
   Rectangle bounds,
   bool showMarkState,
   bool isRowSelected,
   bool highlighted,
   bool firstVisibleRow
) 

Parameters

grph
Graphics content.
bounds
Cell bounds.
showMarkState
Specifies whether to display "mark" state. "Mark" state is a special coloring indicating that there is at least one selected cell in the row.
isRowSelected
Specifies whether the row, whose header is drawn, is selected.
highlighted
Specifies whether the row, whose header is drawn, 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