Skip to main content

DashboardControl.LoadDashboard(String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Loads a dashboard from an XML file.

Namespace: DevExpress.DashboardWpf

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

NuGet Package: DevExpress.Wpf.Dashboard

Declaration

public void LoadDashboard(
    string path
)

Parameters

Name Type Description
path String

A String that specifies the path to an XML file that contains the dashboard.

Remarks

The following code snippet shows how to load a dashboard located in the project’s Data folder:

dashboardControl1.LoadDashboard("../../Data/dashboard1.xml");

The following code snippets (auto-collected from DevExpress Examples) contain references to the LoadDashboard(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also