GrapeCity MultiRow Windows Forms Documentation
DataErrorEventArgs Constructor


The CellScope of the cell.
A System.Int32 value that represents the index of the owner Row.
A System.Int32 value that represents the cell index in its parent Section.
A System.String value that represents the cell name.
A bitwise combination of the DataErrorContexts value that represents the context of the data error.
An exception has been thrown due to a data error.
A System.Boolean value that indicates whether to throw an exception.
A System.Boolean value that indicates whether to cancel the current operation.
Initializes a new instance of the DataErrorEventArgs class.
Syntax
Public Function New( _
   ByVal cellScope As CellScope, _
   ByVal rowIndex As Integer, _
   ByVal cellIndex As Integer, _
   ByVal cellName As String, _
   ByVal context As DataErrorContexts, _
   ByVal exception As Exception, _
   ByVal throwException As Boolean, _
   ByVal cancel As Boolean _
)
Dim cellScope As CellScope
Dim rowIndex As Integer
Dim cellIndex As Integer
Dim cellName As String
Dim context As DataErrorContexts
Dim exception As Exception
Dim throwException As Boolean
Dim cancel As Boolean
 
Dim instance As New DataErrorEventArgs(cellScope, rowIndex, cellIndex, cellName, context, exception, throwException, cancel)
public DataErrorEventArgs( 
   CellScope cellScope,
   int rowIndex,
   int cellIndex,
   string cellName,
   DataErrorContexts context,
   Exception exception,
   bool throwException,
   bool cancel
)

Parameters

cellScope
The CellScope of the cell.
rowIndex
A System.Int32 value that represents the index of the owner Row.
cellIndex
A System.Int32 value that represents the cell index in its parent Section.
cellName
A System.String value that represents the cell name.
context
A bitwise combination of the DataErrorContexts value that represents the context of the data error.
exception
An exception has been thrown due to a data error.
throwException
A System.Boolean value that indicates whether to throw an exception.
cancel
A System.Boolean value that indicates whether to cancel the current operation.
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

Reference

DataErrorEventArgs Class
DataErrorEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.