Provides the cell model, coordinates, and worksheet bounds for a cell-formatting callback.
Definition
Namespace:Telerik.WinControls.Export
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
public class PivotGridSpreadExportCellFormattingEventArgs : EventArgs
Inheritance: objectEventArgsPivotGridSpreadExportCellFormattingEventArgs
Inherited Members
Constructors
Initializes event data for one exported cell.
public PivotGridSpreadExportCellFormattingEventArgs(int columnIndex, int rowIndex, PivotGridSpreadExportCellElement exportCell, int columnsCount, int rowsCount, string dataType)
The zero-based column index of the cell.
rowIndexintThe zero-based row index of the cell.
exportCellPivotGridSpreadExportCellElementThe cell model being formatted.
columnsCountintThe column-bound value supplied for the worksheet.
rowsCountintThe row-bound value supplied for the worksheet.
dataTypestringThe string representation of the cell's detected data type.
Properties
Gets or sets the cell model presented to the handler. Modify this instance to affect the current export; assigning a different instance does not replace the cell written by the exporter.
public PivotGridSpreadExportCellElement Cell { get; set; }
Gets the zero-based column index of the cell being formatted.
public int ColumnIndex { get; }
Gets the worksheet column-bound value supplied to this event. The current exporter passes the last zero-based column index, not the total column count.
public int ColumnsCount { get; }
Gets or sets the string representation of the detected data type. The current exporter reads the type from Cell; changing this value alone does not change the exported cell type.
public string DataType { get; set; }
Gets the zero-based row index of the cell being formatted.
public int RowIndex { get; }