Provides event arguments for the CellFormatting event
Definition
Namespace:Telerik.WinControls.Export
Assembly:Telerik.WinControls.GridView.dll
Syntax:
C#
public class CellFormattingEventArgs : EventArgs
Inheritance: objectEventArgsCellFormattingEventArgs
Inherited Members
Constructors
Initializes a new instance of the CellFormattingEventArgs class.
C#
public CellFormattingEventArgs(int gridRowIndex, int gridColumnIndex, Type gridRowInfoType, GridViewCellInfo gridViewCellInfo, object cellSelection, ISpreadExportCellStyleInfo cellStyleInfo)
Index of the grid row.
gridColumnIndexintIndex of the grid column.
gridRowInfoTypeTypeType of the grid RowInfo.
gridViewCellInfoGridViewCellInfoThe grid view CellInfo.
cellSelectionobjectThe cell in the workbook.
cellStyleInfoISpreadExportCellStyleInfoThe cell style, allowing to introduce appearance modification to the exported cells.
Properties
Get excel cell element for further formatting
C#
public object CellSelection { get; }
Get style element for further formatting
C#
public ISpreadExportCellStyleInfo CellStyleInfo { get; }
Get a reference to the source grid's cell.
C#
public GridViewCellInfo GridCellInfo { get; }
Get source grid's column index
C#
public int GridColumnIndex { get; }
Get source grid's row index
C#
public int GridRowIndex { get; }
Get source grid's row type
C#
public Type GridRowInfoType { get; }