GrapeCity.Win.MultiRow Namespace > GcMultiRow Class : CellContentClick Event |
<SRCategoryAttribute("Mouse")> <SRDescriptionAttribute("Occurs when the content within a cell is clicked.")> Public Event CellContentClick As EventHandler(Of CellEventArgs)
Dim instance As GcMultiRow Dim handler As EventHandler(Of CellEventArgs) AddHandler instance.CellContentClick, handler
[SRCategory("Mouse")] [SRDescription("Occurs when the content within a cell is clicked.")] public event EventHandler<CellEventArgs> CellContentClick
The event handler receives an argument of type CellEventArgs containing data related to this event. The following CellEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CellIndex | Gets the cell index in its parent Section. |
CellName | Gets the cell name. |
RowIndex | Gets the index of the owner Row that the event occurs for. |
Scope | Gets the area of the cell that the event occurs for. |
SectionIndex | Gets the index of the owner Section that the event occurs for. |
It also occurs when the user presses and releases the Space key while a button cell or check box cell has focus, and will occur twice for these cell types if the cell is clicked while pressing the Space key.
To determine whether the cell is clicked, handle the CellClick event.
This event does not receive information about the mouse position. If the event handler needs information about the mouse position, use the CellMouseClick event.
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