GridControl.OptionsExportXls Property

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

Namespace: DevExpress.Mobile.DataGrid

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

Syntax

public XlsExportOptions OptionsExportXls { get; set; }

Returns

Type Description
XlsExportOptions

An XlsExportOptions object that defines XLS-specific export options.

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