GrapeCity MultiRow Windows Forms Documentation
CellMouseClick Event


Occurs when a cell is clicked with the mouse.
Syntax
<SRDescriptionAttribute("Occurs whenever a mouse clicks anywhere on a cell.")>
<SRCategoryAttribute("Mouse")>
Public Event CellMouseClick As EventHandler(Of CellMouseEventArgs)
Dim instance As GcMultiRow
Dim handler As EventHandler(Of CellMouseEventArgs)
 
AddHandler instance.CellMouseClick, handler
[SRDescription("Occurs whenever a mouse clicks anywhere on a cell.")]
[SRCategory("Mouse")]
public event EventHandler<CellMouseEventArgs> CellMouseClick
Event Data

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

PropertyDescription
Button (Inherited from System.Windows.Forms.MouseEventArgs)
CellIndexGets the cell index in its parent Section.  
CellNameGets the cell name.  
Clicks (Inherited from System.Windows.Forms.MouseEventArgs)
Delta (Inherited from System.Windows.Forms.MouseEventArgs)
Location (Inherited from System.Windows.Forms.MouseEventArgs)
RowIndexGets the index of the owner Row that the event occurs for.  
ScopeGets the cell area that the event occurs for.  
SectionIndexGets the index of the owner Section that the event occurs for.  
X (Inherited from System.Windows.Forms.MouseEventArgs)
Y (Inherited from System.Windows.Forms.MouseEventArgs)
Remarks
Pressing a mouse button when the cursor is over a control typically raises the following series of control events:
  1. CellMouseDown event.
  2. CellClick event.
  3. CellMouseClick event.
  4. CellMouseUp event.
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

GcMultiRow Class
GcMultiRow Members

 

 


Copyright © GrapeCity, inc. All rights reserved.