ExcelDataSourceBeforeFillEventArgs.Stream Property

Gets or sets a stream that contains a Microsoft Excel workbook or CSV file.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v18.1.Wpf.dll

Syntax

public Stream Stream { get; set; }

Returns

Type Description
Stream

A Stream object containing a Microsoft Excel workbook or CSV file.

Specify the format of the document contained in the stream by using the ExcelDataSourceBeforeFillEventArgs.StreamDocumentFormat property.

As an alternative, you can specify the path to the Microsoft Excel workbook or CSV file stored on the disk using the ExcelDataSourceBeforeFillEventArgs.FileName property.