New to Telerik UI for WinForms? Start a free 30-day trial

Provides the cell data passed to the ExcelML cell-formatting callback.

Definition

Namespace:Telerik.WinControls.UI.Export

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public class ExcelPivotCellExportingEventArgs : EventArgs

Inheritance: objectEventArgsExcelPivotCellExportingEventArgs

Inherited Members EventArgs.Empty

Constructors

Captures a cell's export coordinates, print element, final row and column indices, and inferred data type.

C#
public ExcelPivotCellExportingEventArgs(int columnIndex, int rowIndex, RadPrintElement nativeCell, int columnsCount, int rowsCount, string dataType)
Parameters:columnIndexint

The cell's zero-based column index.

rowIndexint

The cell's zero-based row index.

nativeCellRadPrintElement

The print element used to produce the cell.

columnsCountint

The last zero-based column index in the export, not the total number of columns.

rowsCountint

The last zero-based row index in the export, not the total number of rows.

dataTypestring

The initial ExcelML data type inferred for the cell.

Properties

Gets or sets the print element whose text and styling are used to write this cell.

C#
public RadPrintElement Cell { get; set; }

Changes to the supplied element affect the export, but assigning a different element to this property does not replace the element used by the current exporter.

Gets the cell's zero-based column position in the exported worksheet.

C#
public int ColumnIndex { get; }

Gets the last zero-based column index in the export; despite the property name, this is not a column total.

C#
public int ColumnsCount { get; }

Get or Set data type.

C#
public string DataType { get; set; }

Gets the cell's zero-based row position in the exported worksheet.

C#
public int RowIndex { get; }

Gets the last zero-based row index in the export; despite the property name, this is not a row total.

C#
public int RowsCount { get; }