Skip to main content

GridControl.OptionsExportXlsx Property

Gets or sets how grid data is exported to XLSX format.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public XlsxExportOptions OptionsExportXlsx { get; set; }

Property Value

Type Description
XlsxExportOptions

An XlsxExportOptions object that defines XLSX-specific export options.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

Create an instance of the XlsxExportOptions class and assign it to the OptionsExportXlsx property to apply required settings when exporting data from the GridControl to XLSX format.

To export grid data in XLSX format, use the GridControl.ExportToExcel method with the ExportTarget.Xlsx value passed as the format parameter.

See Also