Class DataGridCellExcelExportingEventArgs
Provides data for the CellExporting event.
Inheritance
Namespace: Syncfusion.SfDataGrid.Exporting
Assembly: Syncfusion.SfGridConverter.Android.dll
Syntax
public sealed class DataGridCellExcelExportingEventArgs : EventArgs
Constructors
DataGridCellExcelExportingEventArgs(RecordEntry, IRange, ExportCellType, Object, String, Object)
Initializes a new instance of the DataGridCellExcelExportingEventArgs class.
Declaration
public DataGridCellExcelExportingEventArgs(RecordEntry record, IRange exportRange, ExportCellType exportCellType, object cellValue, string columnName, object rowData = null)
Parameters
Type | Name | Description |
---|---|---|
RecordEntry | record | The record entry to be exported. |
IRange | exportRange | The exporting cell range. |
ExportCellType | exportCellType | The exporting cell type. |
System.Object | cellValue | The cell value to be exported. |
System.String | columnName | The column name of the cell to be exported. |
System.Object | rowData | The underlying row data of the cell. |
DataGridCellExcelExportingEventArgs(IRange, ExportCellType, Object, String)
Initializes a new instance of the DataGridCellExcelExportingEventArgs class.
Declaration
public DataGridCellExcelExportingEventArgs(IRange exportRange, ExportCellType exportCellType, object cellValue, string columnName)
Parameters
Type | Name | Description |
---|---|---|
IRange | exportRange | The exporting cell range. |
ExportCellType | exportCellType | The exporting cell type. |
System.Object | cellValue | The cell value to be exported. |
System.String | columnName | The column name of the cell to be exported. |
Properties
CellType
Gets the exporting cell type.
Declaration
public ExportCellType CellType { get; }
Property Value
Type | Description |
---|---|
ExportCellType | The ExportCellType representing the exporting cell type. |
CellValue
Gets or sets the exporting cell value.
Declaration
public object CellValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The exporting cell value. |
ColumnName
Gets the column name of the exporting cell.
Declaration
public string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String | The column name of the exporting cell. |
Handled
Gets or sets a value indicating whether cell exporting is handled.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether cell exporting is handled. |
Range
Gets the exporting cell range.
Declaration
public IRange Range { get; }
Property Value
Type | Description |
---|---|
IRange | The exporting cell range. |
Record
Gets the record of the exporting cell.
Declaration
public RecordEntry Record { get; }
Property Value
Type | Description |
---|---|
RecordEntry | The record of the exporting cell. |
RowData
Gets sets the row data of the exporting cell.
Declaration
public object RowData { get; }
Property Value
Type | Description |
---|---|
System.Object | The row data of the exporting cell. |