Spread Windows Forms 6.0 Product Documentation
CellClickEventArgs Constructor(SpreadView,Int32,Int32,Int32,Int32,MouseButtons,Boolean,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CellClickEventArgs Class > CellClickEventArgs Constructor : CellClickEventArgs Constructor(SpreadView,Int32,Int32,Int32,Int32,MouseButtons,Boolean,Boolean)


view
View (Spreadview object) that contains the cell clicked
row
Row index of cell clicked
column
Column index of cell clicked
x
X-coordinate of the pointer position
y
Y-coordinate of the pointer position
button
Which mouse button was pressed
columnHeader
Whether cell clicked is in column header
rowHeader
Whether cell clicked is in row header

Glossary Item Box

Creates a new object with the CellClick event arguments.

Syntax

Visual Basic (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 _
)
Visual Basic (Usage)Copy Code
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)
C# 
public CellClickEventArgs( 
   SpreadView view,
   int row,
   int column,
   int x,
   int y,
   MouseButtons button,
   bool columnHeader,
   bool rowHeader
)

Parameters

view
View (Spreadview object) that contains the cell clicked
row
Row index of cell clicked
column
Column index of cell clicked
x
X-coordinate of the pointer position
y
Y-coordinate of the pointer position
button
Which mouse button was pressed
columnHeader
Whether cell clicked is in column header
rowHeader
Whether cell clicked is in row header

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.