GrapeCity.Win.MultiRow Namespace > GcMultiRow Class : CellContentButtonClick Event |
<SRCategoryAttribute("Mouse")> <SRDescriptionAttribute("Occurs when the content area within an enabled buttonCell is clicked.")> Public Event CellContentButtonClick As EventHandler(Of CellEventArgs)
Dim instance As GcMultiRow Dim handler As EventHandler(Of CellEventArgs) AddHandler instance.CellContentButtonClick, handler
[SRCategory("Mouse")] [SRDescription("Occurs when the content area within an enabled buttonCell is clicked.")] public event EventHandler<CellEventArgs> CellContentButtonClick
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 an enabled button cell has focus, and will occur twice for this cell type if the cell is clicked while pressing the Space key.
This event occurs after the CellContentClick event.
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