Back to Devexpress

DashboardViewer.LoadDashboard(Stream) Method

dashboard-devexpress-dot-dashboardwin-dot-dashboardviewer-dot-loaddashboard-x28-system-dot-io-dot-stream-x29.md

latest3.1 KB
Original Source

DashboardViewer.LoadDashboard(Stream) Method

Loads a dashboard from a stream.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public void LoadDashboard(
    Stream stream
)
vb
Public Sub LoadDashboard(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A Stream object that contains the dashboard.

|

Remarks

You can open a dashboard in one of the following ways.

All these actions raise the DashboardViewer.DashboardChanged event.

To access the dashboard after it has been opened, use the DashboardViewer.Dashboard property.

To save a dashboard to a file or a stream, use the Dashboard.SaveToXml method. You can use the Dashboard.LoadFromXml method to load a dashboard definition from a file or a stream to the existing dashboard.

Note

If the DashboardDesigner / DashboardViewer control is placed in the MDI child form, load dashboards in the Shown event handler instead of Load.

Implements

LoadDashboard(Stream)

See Also

SaveToXml

Save a Dashboard in the WinForms Designer

DashboardViewer Class

DashboardViewer Members

DevExpress.DashboardWin Namespace