BCGControlBar Library for .NET
DrawGroupRowData Event




Raised when it's required to draw data of a Group row (in Group Mode).
Syntax
'Declaration
 
Public Event DrawGroupRowData As DrawGridCellEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As DrawGridCellEventHandler
 
AddHandler instance.DrawGroupRowData, handler
public event DrawGridCellEventHandler DrawGroupRowData
public: __event DrawGridCellEventHandler* DrawGroupRowData
public:
event DrawGridCellEventHandler^ DrawGroupRowData
Event Data

The event handler receives an argument of type DrawGridCellEventArgs containing data related to this event. The following DrawGridCellEventArgs properties provide information specific to this event.

PropertyDescription
ContentSize  
Graphics  
Grid  
GridCell  
Handled (Inherited from System.ComponentModel.HandledEventArgs) 
Remarks
Handle this event to customize drawing of Group row data. Set DrawGridCellEventArgs.Handled to true to prevent further processing.

Often you have to display information that can't be obtained from data item residing in a GroupNode. For example, in report mode you may want to display number of items in the current group, number of not opened items, apply bold font when appropriate and so on. For all these cases you have to handle this event.
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