Class GridExcelExportingEventArgs
Provides data for GridExcelExportingEventhandler .
Namespace: Syncfusion.UI.Xaml.Grid.Converter
Assembly: Syncfusion.SfGridConverter.WPF.dll
Syntax
public sealed class GridExcelExportingEventArgs : GridHandledEventArgs
Constructors
GridExcelExportingEventArgs(IWorksheet, ExportCellType, ExportCellStyle, Object)
Declaration
public GridExcelExportingEventArgs(IWorksheet worksheet, ExportCellType exportCellType, ExportCellStyle exportCellStyle, object dataGrid)
Parameters
Type | Name | Description |
---|---|---|
IWorksheet | worksheet | |
ExportCellType | exportCellType | |
ExportCellStyle | exportCellStyle | |
System.Object | dataGrid |
GridExcelExportingEventArgs(IWorksheet, ExportCellType, IStyle, ExportCellStyle, Int32, Object)
Declaration
public GridExcelExportingEventArgs(IWorksheet worksheet, ExportCellType exportCellType, IStyle style, ExportCellStyle exportCellStyle, int childLevel, object dataGrid)
Parameters
Type | Name | Description |
---|---|---|
IWorksheet | worksheet | |
ExportCellType | exportCellType | |
IStyle | style | |
ExportCellStyle | exportCellStyle | |
System.Int32 | childLevel | |
System.Object | dataGrid |
Properties
CellStyle
Gets or sets a value that specifies the CellStyle.
Declaration
public ExportCellStyle CellStyle { get; set; }
Property Value
Type |
---|
ExportCellStyle |
CellType
Gets or sets a value that specifies the export CellType.
Declaration
public ExportCellType CellType { get; }
Property Value
Type | Description |
---|---|
ExportCellType | One of the ExportCellType enumeration that specifies the export CellType. The default mode is HeaderCell. |
Level
Gets the level of the DataGrid being exported.
Declaration
public int Level { get; }
Property Value
Type |
---|
System.Int32 |
Remarks
The level of the DataGrid is 0 for the parent DataGrid, 1 for the first level nested DataGrid, and so on.
Style
Gets or sets the style for the cell being exported.
Declaration
public IStyle Style { get; }
Property Value
Type |
---|
IStyle |
WorkSheet
Gets or sets the worksheet for the cell being exported.
Declaration
public IWorksheet WorkSheet { get; set; }
Property Value
Type |
---|
IWorksheet |