Class CellImportedEventArgs
Provides data for the CellImported event, raised after each cell is imported from a DataTable to a worksheet.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.FormatProviders
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class CellImportedEventArgs : EventArgs
Constructors
CellImportedEventArgs(Int32, Int32, Int32, Int32, Worksheet)
Initializes a new instance of the CellImportedEventArgs class with the source and destination cell coordinates.
Declaration
public CellImportedEventArgs(int dataTableRowIndex, int dataTableColumnIndex, int worksheetRowIndex, int worksheetColumnIndex, Worksheet worksheet)
Parameters
|
System.Int32
dataTableRowIndex
The index of the row in the DataTable containing the cell that the event occurs for. |
|
System.Int32
dataTableColumnIndex
The index of the column in the DataTable containing the cell that the event occurs for. |
|
System.Int32
worksheetRowIndex
The index of the row in the Worksheet containing the cell that the event occurs for. |
|
System.Int32
worksheetColumnIndex
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
public int DataTableColumnIndex { get; }
Property Value
|
System.Int32
|
DataTableRowIndex
Gets the zero-based row index in the source DataTable for the imported cell.
Declaration
public int DataTableRowIndex { get; }
Property Value
|
System.Int32
|
Worksheet
Gets the worksheet instance receiving the imported data.
Declaration
public Worksheet Worksheet { get; }
Property Value
|
Worksheet
|
WorksheetColumnIndex
Gets the zero-based column index in the destination worksheet where the cell was imported.
Declaration
public int WorksheetColumnIndex { get; }
Property Value
|
System.Int32
|
WorksheetRowIndex
Gets the zero-based row index in the destination worksheet where the cell was imported.
Declaration
public int WorksheetRowIndex { get; }
Property Value
|
System.Int32
|