Loads a dashboard from a stream.
A Stream object that contains the dashboard.
You can open a dashboard in one of the following ways.
- Create and assign an instance of the Dashboard class to the DashboardViewer.Dashboard property.
- Specify the dashboard URI via the DashboardViewer.DashboardSource property.
- Use the LoadDashboard method to open a dashboard from a file or stream.
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.