New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class CellImportedEventArgs : EventArgs

Inheritance: objectEventArgsCellImportedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the CellImportedEventArgs class with the source and destination cell coordinates.

C#
public CellImportedEventArgs(int dataTableRowIndex, int dataTableColumnIndex, int worksheetRowIndex, int worksheetColumnIndex, Worksheet worksheet)
Parameters:dataTableRowIndexint

The index of the row in the DataTable containing the cell that the event occurs for.

dataTableColumnIndexint

The index of the column in the DataTable containing the cell that the event occurs for.

worksheetRowIndexint

The index of the row in the Worksheet containing the cell that the event occurs for.

worksheetColumnIndexint

The index of the column in the Worksheet containing the cell that the event occurs for.

worksheetWorksheet

The worksheet where the data is imported.

Properties

Gets the zero-based column index in the source DataTable for the imported cell.

C#
public int DataTableColumnIndex { get; }

Gets the zero-based row index in the source DataTable for the imported cell.

C#
public int DataTableRowIndex { get; }

Gets the worksheet instance receiving the imported data.

C#
public Worksheet Worksheet { get; }

Gets the zero-based column index in the destination worksheet where the cell was imported.

C#
public int WorksheetColumnIndex { get; }

Gets the zero-based row index in the destination worksheet where the cell was imported.

C#
public int WorksheetRowIndex { get; }