BCGControlBar Library for .NET
CreateCustomCell Event




Raised when Grid encounters a GridDataItem with DataType set to GridDataType.Custom.
Syntax
'Declaration
 
Public Event CreateCustomCell As GridCreateCustomCellEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As GridCreateCustomCellEventHandler
 
AddHandler instance.CreateCustomCell, handler
public event GridCreateCustomCellEventHandler CreateCustomCell
public: __event GridCreateCustomCellEventHandler* CreateCustomCell
public:
event GridCreateCustomCellEventHandler^ CreateCustomCell
Event Data

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

PropertyDescription
Cell Gets or sets a reference to custom cell.
Column Gets a column where custom cell is located.
ColumnIndex Gets index of column where custom cell is located.
Handled (Inherited from System.ComponentModel.HandledEventArgs) 
Item Gets data item. for which custom cell is created.
Row Gets a row where a custom cell is located.
RowIndex Gets row index.
Remarks
You should handle this event to create custom cells.
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