Spread Windows Forms 6.0 Product Documentation
ErrorEventArgs Constructor
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ErrorEventArgs Class : ErrorEventArgs Constructor


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

Glossary Item Box

Creates a new object with the Error event arguments.

Syntax

Visual Basic (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 _
)
Visual Basic (Usage)Copy Code
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)
C# 
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 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.