Creates a new object with the CellClick event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As SpreadView, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As MouseButtons, _
ByVal columnHeader As Boolean, _
ByVal As Boolean _
)
'Usage
Dim view As SpreadView
Dim row As Integer
Dim column As Integer
Dim x As Integer
Dim y As Integer
Dim button As MouseButtons
Dim columnHeader As Boolean
Dim rowHeader As Boolean
Dim instance As New CellClickEventArgs(view, row, column, x, y, button, columnHeader, rowHeader)
Parameters
- view
- View (Spreadview object) that contains the clicked cell
- row
- Row index of the clicked cell
- column
- Column index of the clicked cell
- x
- X-coordinate of the pointer position
- y
- Y-coordinate of the pointer position
- button
- Which mouse button was pressed
- columnHeader
- Whether the clicked cell is in the column header
- rowHeader
- Whether the clicked cell is in the row header
See Also