Provides data for the CellImported event, raised after each cell is imported from a DataTable to a worksheet.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class CellImportedEventArgs : EventArgs
Inheritance: objectEventArgsCellImportedEventArgs
Inherited Members
Constructors
Initializes a new instance of the CellImportedEventArgs class with the source and destination cell coordinates.
public CellImportedEventArgs(int dataTableRowIndex, int dataTableColumnIndex, int worksheetRowIndex, int worksheetColumnIndex, Worksheet worksheet)
The index of the row in the DataTable containing the cell that the event occurs for.
dataTableColumnIndexintThe index of the column in the DataTable containing the cell that the event occurs for.
worksheetRowIndexintThe index of the row in the Worksheet containing the cell that the event occurs for.
worksheetColumnIndexintThe index of the column in the Worksheet containing the cell that the event occurs for.
worksheetWorksheetThe worksheet where the data is imported.
Properties
Gets the zero-based column index in the source DataTable for the imported cell.
public int DataTableColumnIndex { get; }
Gets the zero-based row index in the source DataTable for the imported cell.
public int DataTableRowIndex { get; }
Gets the worksheet instance receiving the imported data.
public Worksheet Worksheet { get; }
Gets the zero-based column index in the destination worksheet where the cell was imported.
public int WorksheetColumnIndex { get; }
Gets the zero-based row index in the destination worksheet where the cell was imported.
public int WorksheetRowIndex { get; }