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

Declaration

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

Property Value

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