Skip to main content

GridControl.OptionsExportXls Property

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

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public XlsExportOptions OptionsExportXls { get; set; }

Property Value

Type Description
XlsExportOptions

An XlsExportOptions object that defines XLS-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 XlsExportOptions class and assign it to the OptionsExportXls property to apply required settings when exporting data from the GridControl to XLS format.

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

See Also