TreeListExtension.WriteXlsx(TreeListSettings, Object, Stream, XlsxExportOptions) Method

Exports the TreeList’s data to a stream in XLSX with the specified export settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll


public static void WriteXlsx(
    TreeListSettings settings,
    object dataObject,
    Stream stream,
    XlsxExportOptions exportOptions


Name Type Description
settings TreeListSettings

A TreeListSettings object that contains Tree List settings.

dataObject Object

An object representing the TreeList’s data source.

stream Stream

A Stream object to which the data is exported.

exportOptions XlsxExportOptions

An XlsxExportOptions object that provides export options.

See Also