dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol.md
Gets or sets a dashboard source for the DashboardControl.
Namespace : DevExpress.DashboardWpf
Assembly : DevExpress.Dashboard.v25.2.Wpf.dll
NuGet Package : DevExpress.Wpf.Dashboard
public object DashboardSource { get; set; }
Public Property DashboardSource As Object
| Type | Description |
|---|---|
| Object |
An Object that specifies a dashboard source for the DashboardControl.
|
The following dashboard sources are supported:
Dashboard XML definition standalone file.
Dashboard XML definition compiled resource.
Dashboard class created at design time.
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.
<dxdash:DashboardControl Grid.Column="0" x:Name="dashboardControl1"
DashboardSource="../../Dashboards/dashboard1.xml"
DashboardStateChanged="DashboardControl_DashboardStateChanged" BorderThickness="3" />
wpf-dashboard-how-to-obtain-clicked-item-data/CS/Dashboard_ClientDataCards_Wpf/MainWindow.xaml#L12
<dxdash:DashboardControl DashboardSource="{x:Type local:Dashboard1}" DashboardItemMouseUp="DashboardControl_DashboardItemMouseUp"/>
DashboardItemMouseMove="DashboardControl_DashboardItemMouseMove"
DashboardSource="{x:Type local:SalesDashboard}" />
<Popup x:Name="tooltip" AllowsTransparency="True">
wpf-dashboard-how-to-set-initial-dashboard-state/CS/WpfDashboard_DashboardState/MainWindow.xaml#L19
ConfigureDataConnection="DashboardControl_ConfigureDataConnection"
DashboardSource="SampleDashboardWithState.xml"
SetInitialDashboardState="dashboardControl_SetInitialDashboardState"/>
wpf-dashboard-how-to-embed-devexpress-control/CS/GanttSample/Window.xaml#L44
<Grid>
<dxdash:DashboardControl DashboardSource="{x:Type local:Dashboard}"
ObjectDataSourceLoadingBehavior="LoadAsIs"
See Also