DataGridViewDataErrorEventArgs Constructor
Collapse the table of content
Expand the table of content

DataGridViewDataErrorEventArgs Constructor (Exception, Int32, Int32, DataGridViewDataErrorContexts)

 

Initializes a new instance of the DataGridViewDataErrorEventArgs class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public DataGridViewDataErrorEventArgs(
	Exception exception,
	int columnIndex,
	int rowIndex,
	DataGridViewDataErrorContexts context
)

Parameters

exception
Type: System.Exception

The exception that occurred.

columnIndex
Type: System.Int32

The column index of the cell that raised the DataError.

rowIndex
Type: System.Int32

The row index of the cell that raised the DataError.

context
Type: System.Windows.Forms.DataGridViewDataErrorContexts

A bitwise combination of DataGridViewDataErrorContexts values indicating the context in which the error occurred.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft