Class DataGridCellExcelExportingEventArgs
Provides data for DataGridCellExcelExportingEventHandler.
Inheritance
System.Object
System.EventArgs
DataGridCellExcelExportingEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.DataGridConverter.Events
Assembly: Syncfusion.SfDataGridConverter.WinForms.dll
Syntax
public sealed class DataGridCellExcelExportingEventArgs : GridHandledEventArgs
Constructors
DataGridCellExcelExportingEventArgs(IRange, ExportCellType, Object, Object, String, Object, ExportMode, IPropertyAccessProvider)
Declaration
public DataGridCellExcelExportingEventArgs(IRange exportRange, ExportCellType exportCellType, object cellValue, object exportNodeEntry, string columnName, object dataGrid, ExportMode exportMode, IPropertyAccessProvider propertyAccessProvider)
Parameters
Type | Name | Description |
---|---|---|
IRange | exportRange | |
ExportCellType | exportCellType | |
System.Object | cellValue | |
System.Object | exportNodeEntry | |
System.String | columnName | |
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 |
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 |
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 |