Class TreeGridExcelExportExtension
Provides the extensions for exporting SfTreeGrid to Excel.
Inheritance
System.Object
TreeGridExcelExportExtension
Namespace: Syncfusion.UI.Xaml.TreeGrid.Converter
Assembly: Syncfusion.SfGridConverter.WPF.dll
Syntax
public static class TreeGridExcelExportExtension : Object
Methods
ExportToExcel(SfTreeGrid, TreeGridExcelExportingOptions)
Exports the SfTreeGrid to excel
Declaration
public static ExcelEngine ExportToExcel(this SfTreeGrid treeGrid, TreeGridExcelExportingOptions excelExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | Specifies the SfTreeGrid. |
TreeGridExcelExportingOptions | excelExportingOptions | Specifies the instance of class TreeGridExcelExportingOptions |
Returns
Type | Description |
---|---|
ExcelEngine | Returns the ExcelEngine. |
ExportToExcel(SfTreeGrid, TreeGridExcelExportingOptions, IWorksheet)
Exports the SfTreeGrid to excel.
Declaration
public static void ExportToExcel(this SfTreeGrid treeGrid, TreeGridExcelExportingOptions excelExportingOptions, IWorksheet worksheet)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | Specifies the SfTreeGrid. |
TreeGridExcelExportingOptions | excelExportingOptions | Specifies the instance of class TreeGridExcelExportingOptions |
IWorksheet | worksheet | Specifies the exported worksheet. |
ExportToExcel(SfTreeGrid, IWorkbook, TreeGridExcelExportingOptions)
Exports the SfTreeGrid to excel.
Declaration
public static void ExportToExcel(this SfTreeGrid treeGrid, IWorkbook workbook, TreeGridExcelExportingOptions excelExportingOptions)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | Specifies the SfTreeGrid. |
IWorkbook | workbook | Specifies the excel workbook. |
TreeGridExcelExportingOptions | excelExportingOptions | Specifies the instance of class TreeGridExcelExportingOptions |