Class
CellImportedEventArgs

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:

cs-api-definition
public class CellImportedEventArgs : EventArgs

Inheritance: objectEventArgsCellImportedEventArgs

Inherited Members EventArgs.Empty

Constructors

CellImportedEventArgs(int, int, int, int, Worksheet)

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

Declaration

cs-api-definition
public CellImportedEventArgs(int dataTableRowIndex, int dataTableColumnIndex, int worksheetRowIndex, int worksheetColumnIndex, Worksheet worksheet)

Parameters

dataTableRowIndex

int

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

dataTableColumnIndex

int

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

worksheetRowIndex

int

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

worksheetColumnIndex

int

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

worksheet

Worksheet

The worksheet where the data is imported.

Properties

DataTableColumnIndex

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

Declaration

cs-api-definition
public int DataTableColumnIndex { get; }

Property Value

int

DataTableRowIndex

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

Declaration

cs-api-definition
public int DataTableRowIndex { get; }

Property Value

int

Worksheet

Gets the worksheet instance receiving the imported data.

Declaration

cs-api-definition
public Worksheet Worksheet { get; }

Property Value

Worksheet

WorksheetColumnIndex

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

Declaration

cs-api-definition
public int WorksheetColumnIndex { get; }

Property Value

int

WorksheetRowIndex

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

Declaration

cs-api-definition
public int WorksheetRowIndex { get; }

Property Value

int