Skip to main content

DashboardControl.DashboardSource Property

Gets or sets a dashboard source for the DashboardControl.

Namespace: DevExpress.DashboardWpf

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

NuGet Package: DevExpress.Wpf.Dashboard

Declaration

public object DashboardSource { get; set; }

Property Value

Type Description
Object

An Object that specifies a dashboard source for the DashboardControl.

Remarks

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}"/>
    

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.

See Also