DashboardControl.DashboardSource Property
Namespace: DevExpress.DashboardWpf
Assembly: DevExpress.Dashboard.v19.2.Wpf.dll
Declaration
public object DashboardSource { get; set; }
Public Property DashboardSource As Object
Property Value
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}"/>
See Also