BCGControlBar Library for .NET
DrawGridCellGap Event




Raised when it's required to fill the left gap between a cell and left border in Group Mode.
Syntax
'Declaration
 
Public Event DrawGridCellGap As DrawGridCellGapEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As DrawGridCellGapEventHandler
 
AddHandler instance.DrawGridCellGap, handler
public event DrawGridCellGapEventHandler DrawGridCellGap
public: __event DrawGridCellGapEventHandler* DrawGridCellGap
public:
event DrawGridCellGapEventHandler^ DrawGridCellGap
Event Data

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

PropertyDescription
ContentSize (Inherited from BCGSoft.Controls.Grid.DrawGridCellEventArgs) 
GapBounds Gap bounding rectangle.
Graphics (Inherited from BCGSoft.Controls.Grid.DrawGridCellEventArgs) 
Grid (Inherited from BCGSoft.Controls.Grid.DrawGridCellEventArgs) 
GridCell (Inherited from BCGSoft.Controls.Grid.DrawGridCellEventArgs) 
Handled (Inherited from System.ComponentModel.HandledEventArgs) 
Remarks
Handle this event to customize painting of gap. Set DrawGridCellGapEventArgs.Handled to true to prevent further processing.
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