Class GridCellExcelExportingEventArgs
Provides data for GridCellExcelExportingEventHandler.
Namespace: Syncfusion.UI.Xaml.Grid.Converter
Assembly: Syncfusion.SfGridConverter.UWP.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 a value that specifies the CellValue.
Declaration
public object CellValue { get; }
Property Value
Type | Description |
---|---|
System.Object |
ColumnName
Gets a value that specifies the ColumnName.
Declaration
public string ColumnName { get; }
Property Value
Type | Description |
---|---|
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 | Description |
---|---|
ViewDefinition |
Level
Gets a value that specifies the level of the currently exporting DataGrid. It is 0 for Parent dataGrid, 1 for First Level Nested DataGrid, and so on.
Declaration
public int Level { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
NodeEntry
Gets a value that specifies the NodeEntry.
Declaration
public object NodeEntry { get; }
Property Value
Type | Description |
---|---|
System.Object |
PropertyAccessProvider
Gets a value that specifies the IPropertyAccessProvider.
Declaration
public IPropertyAccessProvider PropertyAccessProvider { get; }
Property Value
Type | Description |
---|---|
IPropertyAccessProvider |
Range
Gets or sets a value that specifies the range.
Declaration
public IRange Range { get; set; }
Property Value
Type | Description |
---|---|
IRange |