DashboardControl.DashboardSource Property
Gets or sets a dashboard source for the DashboardControl.
Namespace: DevExpress.DashboardWpf
Assembly: DevExpress.Dashboard.v24.2.Wpf.dll
NuGet Package: DevExpress.Wpf.Dashboard
#Declaration
#Property Value
Type | Description |
---|---|
Object | An Object that specifies a dashboard source for the Dashboard |
#Remarks
The following dashboard sources are supported:
Dashboard XML definition standalone file.
Assign the string containing the absolute or relative path to the dashboard XML file to the DashboardSource property.
<dxdash:DashboardControl DashboardSource="C:\Temp\Dashboard.xml"/>
Dashboard XML definition compiled resource.
If the dashboard definition file is a compiled WPF application resource, assign the string containing its pack URI to the DashboardSource property.
<dxdash:DashboardControl DashboardSource="pack://application:,,,/Dashboard.xml"/>
Dashboard class created at design time.
Assign the type of this dashboard to the DashboardSource property.
<dxdash:DashboardControl DashboardSource="{x:Type local:Dashboard1}"/>
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardSource property.
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.