BCGControlBar Library for .NET
DrawCellSelection Method




The Graphics object.
Cell's bounding rectangle.
Cell's visual style.
Called by painting code to draw cell selection.
Syntax
'Declaration
 
Public Sub DrawCellSelection( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal visualStyle As GridCellVisualStyle _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim bounds As Rectangle
Dim visualStyle As GridCellVisualStyle
 
instance.DrawCellSelection(grph, bounds, visualStyle)
public void DrawCellSelection( 
   Graphics grph,
   Rectangle bounds,
   GridCellVisualStyle visualStyle
)
public: void DrawCellSelection( 
   Graphics* grph,
   Rectangle bounds,
   GridCellVisualStyle* visualStyle
) 
public:
void DrawCellSelection( 
   Graphics^ grph,
   Rectangle bounds,
   GridCellVisualStyle^ visualStyle
) 

Parameters

grph
The Graphics object.
bounds
Cell's bounding rectangle.
visualStyle
Cell's visual style.
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