BCGControlBar Library for .NET
DrawExpandingBox Method




The Graphics object.
Group cell whose expanding box is about to be drawn.
Bounding rectangle of expand box.
Specifies the current box state: true - the expanding box is expanded, otherwise - collapsed.
Called by painting code to draw expanding box.
Syntax
'Declaration
 
Public Sub DrawExpandingBox( _
   ByVal grph As Graphics, _
   ByVal cell As Cell, _
   ByVal bounds As Rectangle, _
   ByVal isExpanded As Boolean _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim cell As Cell
Dim bounds As Rectangle
Dim isExpanded As Boolean
 
instance.DrawExpandingBox(grph, cell, bounds, isExpanded)
public void DrawExpandingBox( 
   Graphics grph,
   Cell cell,
   Rectangle bounds,
   bool isExpanded
)
public: void DrawExpandingBox( 
   Graphics* grph,
   Cell* cell,
   Rectangle bounds,
   bool isExpanded
) 
public:
void DrawExpandingBox( 
   Graphics^ grph,
   Cell^ cell,
   Rectangle bounds,
   bool isExpanded
) 

Parameters

grph
The Graphics object.
cell
Group cell whose expanding box is about to be drawn.
bounds
Bounding rectangle of expand box.
isExpanded
Specifies the current box state: true - the expanding box is expanded, otherwise - collapsed.
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