Class GridExcelConverterControl
Control class for ExcelExport
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid.Converter
Assembly: Syncfusion.GridConverter.Wpf.dll
Syntax
public class GridExcelConverterControl : GridExcelConverterBase
Constructors
GridExcelConverterControl()
Declaration
public GridExcelConverterControl()
Methods
BeginExportToExcel(GridModel, GridRangeInfo, IWorksheet, IRange, GridCellExportToExcelHandler, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginExportToExcel(GridModel gridModel, GridRangeInfo gridRange, IWorksheet workSheet, IRange excelRange, GridCellExportToExcelHandler exportingHandler, AsyncCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
GridModel | gridModel | |
GridRangeInfo | gridRange | |
IWorksheet | workSheet | |
IRange | excelRange | |
GridCellExportToExcelHandler | exportingHandler | |
System.AsyncCallback | callback | |
System.Object | state |
Returns
Type |
---|
System.IAsyncResult |
BeginExportToExcel(GridModel, GridRangeInfo, IWorksheet, IRange, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginExportToExcel(GridModel gridModel, GridRangeInfo gridRange, IWorksheet workSheet, IRange excelRange, AsyncCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
GridModel | gridModel | |
GridRangeInfo | gridRange | |
IWorksheet | workSheet | |
IRange | excelRange | |
System.AsyncCallback | callback | |
System.Object | state |
Returns
Type |
---|
System.IAsyncResult |
EndExportToExcel(IAsyncResult)
Declaration
public virtual void EndExportToExcel(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System.IAsyncResult | asyncResult |
GridCellToExcel(GridModel, Int32, Int32, IRange, GridCellExportToExcelHandler, Boolean)
Declaration
public void GridCellToExcel(GridModel gridModel, int row, int column, IRange range, GridCellExportToExcelHandler exportingHandler, bool IsAsynExport)
Parameters
Type | Name | Description |
---|---|---|
GridModel | gridModel | |
System.Int32 | row | |
System.Int32 | column | |
IRange | range | |
GridCellExportToExcelHandler | exportingHandler | |
System.Boolean | IsAsynExport |
GridCellToExcel(GridModel, Int32, Int32, IRange, Boolean, ExcelExportingOptions)
Copies one grid cell into excel cell.
Declaration
public void GridCellToExcel(GridModel gridModel, int row, int column, IRange range, bool IsAsyncExport, ExcelExportingOptions exportingOptions)
Parameters
Type | Name | Description |
---|---|---|
GridModel | gridModel | Source grid |
System.Int32 | row | Grid cell row index to copy |
System.Int32 | column | Grid cell column index to copy |
IRange | range | Destination excel range |
System.Boolean | IsAsyncExport | To IsAsynExport |
ExcelExportingOptions | exportingOptions | Exporting Option decides whether the styles and formats should be exported or not |