Class TreeGridCellExcelExportOptions
Provides data for the TreeGridCellExcelExport event.
Namespace: Syncfusion.UI.Xaml.TreeGrid.Export
Assembly: Syncfusion.GridExport.WinUI.dll
Syntax
public sealed class TreeGridCellExcelExportOptions : GridHandledEventArgs
Constructors
TreeGridCellExcelExportOptions(IRange, ExportCellType, Object, Object, String, Object, ExportMode)
Declaration
public TreeGridCellExcelExportOptions(IRange exportRange, ExportCellType exportCellType, object cellValue, object exportNode, string columnName, object treeGrid, ExportMode exportMode)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | exportRange | |
| ExportCellType | exportCellType | |
| System.Object | cellValue | |
| System.Object | exportNode | |
| System.String | columnName | |
| System.Object | treeGrid | |
| ExportMode | exportMode |
Properties
CellType
Gets the type of cell being exported.
Declaration
public ExportCellType CellType { get; }
Property Value
| Type | Description |
|---|---|
| ExportCellType | One of the ExportCellType enumeration values that specifies the type of the cell being exported. The default value 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 the mode for exporting the cell.
Declaration
public ExportMode ExportMode { get; set; }
Property Value
| Type | Description |
|---|---|
| ExportMode | One of the ExportMode enumeration values that specifies the mode for exporting the cell. The default value is Value. |
Node
Gets a value that represents the node entry of the SfTreeGrid.
Declaration
public object Node { get; }
Property Value
| Type |
|---|
| System.Object |
Range
Gets or sets the range of cells to be exported.
Declaration
public IRange Range { get; set; }
Property Value
| Type |
|---|
| IRange |