Spread Windows Forms 12.0 Product Documentation
ErrorEventArgs Constructor(SpreadView,Boolean,EditError,Int32,Int32,Int32,Int32,String,Exception)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ErrorEventArgs Class > ErrorEventArgs Constructor : ErrorEventArgs Constructor(SpreadView,Boolean,EditError,Int32,Int32,Int32,Int32,String,Exception)
View that contains the cell with the editor that raised the event
Whether the error occured in the editing of the control
Type of edit error
The top row index of the cell that raised the event
The left column index of the cell that raised the event
Bottom Row index of the cell that raised the event
The right column index of the cell that raised the event
Text describing the error
Exception being thrown
Creates a new object with the Error event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal isEditError As Boolean, _
   ByVal editError As EditError, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal row2 As Integer, _
   ByVal column2 As Integer, _
   ByVal errorMessage As String, _
   ByVal exception As Exception _
)
'Usage
 
Dim view As SpreadView
Dim isEditError As Boolean
Dim editError As EditError
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim errorMessage As String
Dim exception As Exception
 
Dim instance As New ErrorEventArgs(view, isEditError, editError, row, column, row2, column2, errorMessage, exception)
public ErrorEventArgs( 
   SpreadView view,
   bool isEditError,
   EditError editError,
   int row,
   int column,
   int row2,
   int column2,
   string errorMessage,
   Exception exception
)

Parameters

view
View that contains the cell with the editor that raised the event
isEditError
Whether the error occured in the editing of the control
editError
Type of edit error
row
The top row index of the cell that raised the event
column
The left column index of the cell that raised the event
row2
Bottom Row index of the cell that raised the event
column2
The right column index of the cell that raised the event
errorMessage
Text describing the error
exception
Exception being thrown
See Also

Reference

ErrorEventArgs Class
ErrorEventArgs Members
Overload List