Spread Windows Forms 9.0 Product Documentation
ErrorEventArgs Constructor


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
Row index of the cell with the editor that raised the event
Column index of the cell with the editor 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 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 errorMessage As String
Dim exception As Exception
 
Dim instance As New ErrorEventArgs(view, isEditError, editError, row, column, errorMessage, exception)
public ErrorEventArgs( 
   SpreadView view,
   bool isEditError,
   EditError editError,
   int row,
   int column,
   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
Row index of the cell with the editor that raised the event
column
Column index of the cell with the editor that raised the event
errorMessage
Text describing the error
exception
Exception being thrown
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ErrorEventArgs Class
ErrorEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.