Back to Devexpress

Create a WPF Dashboard Viewer (.NET Framework)

dashboard-119538-get-started-build-wpf-dashboard-applications-create-a-wpf-viewer-for-displaying-a-dashboard.md

latest1.5 KB
Original Source

Create a WPF Dashboard Viewer (.NET Framework)

  • Sep 27, 2024
  • 2 minutes to read

This topic describes how to build a simple WPF Viewer application in .NET Framework and use it to display the dashboard created in Visual Studio.

Follow the steps below to build a WPF Viewer application.

  1. In Visual Studio, create a new project and select WPF App (.NET Framework) on the start page as the project template.

  2. Drag DashboardControl from the DX.25.2: Data & Analytics Toolbox tab and drop it onto the main form.

  3. Right-click the control and select Layout | Reset All to allow the DashboardControl to fill the entire window.

  4. Click the control’s smart tag and select the Set Dashboard Source command.

  5. Visual Studio displays the designer for the newly created dashboard.

  6. Make sure that the DashboardControl.DashboardSource property is specified in the DashboardControl’s XAML code:

  7. Run the application to see the result.

Next Steps