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


public XlsExportOptions OptionsExportXls { get; set; }
Public Property OptionsExportXls As XlsExportOptions

Property Value

Type Description

An XlsExportOptions object that defines XLS-specific export options.



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