Spread Windows Forms 12.0 Product Documentation
CellClickEventArgs Constructor(SpreadView,Int32,Int32,Int32,Int32,MouseButtons,Boolean,Boolean,Boolean,Int32,Int32)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CellClickEventArgs Class > CellClickEventArgs Constructor : CellClickEventArgs Constructor(SpreadView,Int32,Int32,Int32,Int32,MouseButtons,Boolean,Boolean,Boolean,Int32,Int32)
View (Spreadview object) that contains the clicked cell
Row index of the clicked cell
Column index of the clicked cell
X-coordinate of the pointer position
Y-coordinate of the pointer position
Which mouse button was pressed
Whether the clicked cell is in the column header
Whether the clicked cell is in the row header
Whether the clicked cell is in the column footer
Actual row index in the layout
Actual column index in the layout
Creates a new object with the CellClick event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal button As MouseButtons, _
   ByVal columnHeader As Boolean, _
   ByVal rowHeader As Boolean, _
   ByVal columnFooter As Boolean, _
   ByVal actualRowLayoutIndex As Integer, _
   ByVal actualColumnLayoutIndex As Integer _
)
'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 columnFooter As Boolean
Dim actualRowLayoutIndex As Integer
Dim actualColumnLayoutIndex As Integer
 
Dim instance As New CellClickEventArgs(view, row, column, x, y, button, columnHeader, rowHeader, columnFooter, actualRowLayoutIndex, actualColumnLayoutIndex)
public CellClickEventArgs( 
   SpreadView view,
   int row,
   int column,
   int x,
   int y,
   MouseButtons button,
   bool columnHeader,
   bool rowHeader,
   bool columnFooter,
   int actualRowLayoutIndex,
   int actualColumnLayoutIndex
)

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
columnFooter
Whether the clicked cell is in the column footer
actualRowLayoutIndex
Actual row index in the layout
actualColumnLayoutIndex
Actual column index in the layout
See Also

Reference

CellClickEventArgs Class
CellClickEventArgs Members
Overload List