BCGControlBar Library for .NET
DrawGridCellSelection Event




Raised when it's required to draw cell selection.
Syntax
'Declaration
 
Public Event DrawGridCellSelection As DrawGridCellEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As DrawGridCellEventHandler
 
AddHandler instance.DrawGridCellSelection, handler
public event DrawGridCellEventHandler DrawGridCellSelection
public: __event DrawGridCellEventHandler* DrawGridCellSelection
public:
event DrawGridCellEventHandler^ DrawGridCellSelection
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 painting of cell selection. Set DrawGridCellEventArgs.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