DashboardControl.DashboardSource Property

Gets or sets a dashboard source for the DashboardControl.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v21.1.Wpf.dll


public object DashboardSource { get; set; }

Property Value

Type Description

An Object that specifies a dashboard source for the DashboardControl.


The following dashboard sources are supported:

  1. 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"/>
  2. 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"/>
  3. 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