Back to Devexpress

Create a WinForms Dashboard Viewer (.NET Framework)

dashboard-12378-get-started-build-winforms-dashboard-applications-create-a-winforms-dashboard-viewer-in-net-framework.md

latest1.4 KB
Original Source

Create a WinForms Dashboard Viewer (.NET Framework)

  • Dec 17, 2020

This topic describes how to build a Dashboard Viewer application in the .NET Framework and use it to display the dashboard created in the Dashboard Designer.

Follow the steps below.

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

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

  3. Click the control’s smart tag button and select Dock in Parent Container to allow the DashboardViewer to fill the entire window.

  4. In the same menu, click Load Dashboard , use the invoked dialog to locate the dashboard XML file created in the first lesson, and choose this file as the DashboardSource.

  5. Run the application to see the result.

Next Steps