GridControl.ExportToXlsx(Stream, XlsxExportOptions) Method
Exports the data the GridControl.DefaultView (GridControl.MainView or the currently maximized detail View) displays to the specified stream in XLSX format using the specified options.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream object to which data is exported. |
options | XlsxExportOptions | An object that specifies export customization options and events. In data-aware export mode, initialize the parameter with a XlsxExportOptionsEx object. In WYSIWYG export mode, initialize the parameter with a XlsxExportOptions object. |
Remarks
See Export to XLS and XLSX Formats to learn more.
See Also