Class GridCellExcelExportingEventArgs
Provides data for GridCellExcelExportingEventHandler.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid.Converter
Assembly: Syncfusion.SfGridConverter.WPF.dll
Syntax
public sealed class GridCellExcelExportingEventArgs : GridHandledEventArgs
Constructors
GridCellExcelExportingEventArgs(IRange, ExportCellType, Object, Object, String, ViewDefinition, Int32, Object, ExportMode, IPropertyAccessProvider)
Declaration
public GridCellExcelExportingEventArgs(IRange exportRange, ExportCellType exportCellType, object cellValue, object exportNodeEntry, string columnName, ViewDefinition viewDefinition, int childLevel, object dataGrid, ExportMode exportMode, IPropertyAccessProvider propertyAccessProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | exportRange | |
| ExportCellType | exportCellType | |
| System.Object | cellValue | |
| System.Object | exportNodeEntry | |
| System.String | columnName | |
| ViewDefinition | viewDefinition | |
| System.Int32 | childLevel | |
| System.Object | dataGrid | |
| ExportMode | exportMode | |
| IPropertyAccessProvider | propertyAccessProvider |
Properties
CellType
Gets 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. |
CellValue
Gets the value of the cell being exported.
Declaration
public object CellValue { get; }
Property Value
| Type |
|---|
| System.Object |
ColumnName
Gets the name of the column for the cell being exported.
Declaration
public string ColumnName { get; }
Property Value
| Type |
|---|
| System.String |
ExportMode
Gets or sets a value that specifies the ExportMode.
Declaration
public ExportMode ExportMode { get; set; }
Property Value
| Type | Description |
|---|---|
| ExportMode | One of the ExportMode enumeration that specifies the ExportMode. The default mode is Text. |
GridViewDefinition
Gets a value that specifies the ViewDefinition.
Declaration
public ViewDefinition GridViewDefinition { get; }
Property Value
| Type |
|---|
| ViewDefinition |
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.
NodeEntry
Gets the node entry for the cell being exported.
Declaration
public object NodeEntry { get; }
Property Value
| Type |
|---|
| System.Object |
PropertyAccessProvider
Gets the property access provider for the cell being exported.
Declaration
public IPropertyAccessProvider PropertyAccessProvider { get; }
Property Value
| Type |
|---|
| IPropertyAccessProvider |
Range
Gets or sets the range of cells to be exported.
Declaration
public IRange Range { get; set; }
Property Value
| Type |
|---|
| IRange |