[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
 [Collapse]Getting Started
   Build End-User Dashboard Applications using the Template Gallery
  [Expand]Build End-User Dashboard Designer Applications
  [Collapse]Build End-User Dashboard Viewer Applications
    Create a WinForms Viewer for Displaying a Dashboard
    Create an ASP.NET Viewer for Displaying a Dashboard
    Create an ASP.NET MVC Viewer for Displaying a Dashboard
    Create an HTML5 JavaScript Viewer for Displaying a Dashboard
    Create an ASP.NET Core Viewer for Displaying a Dashboard (CTP)
    Create a WPF Viewer for Displaying a Dashboard (CTP)
  [Expand]Create a Dashboard in the Designer Application
   Create a Dashboard in Visual Studio
   Included Components
 [Expand]Basic Concepts and Terminology
 [Expand]Main Features
 [Expand]Building the Designer and Viewer Applications
 [Expand]Creating Dashboards
 [Expand]Design-Time Features
  Video Tutorials
  End-User Documentation
 [Expand]Redistribution and Deployment
 [Expand]Member Tables
 [Expand]API Reference
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
This documentation page describes implementations made in our v17.2 release cycle. To learn about functionality shipping with v18.1, navigate to our updated help file experience at docs.devexpress.com. Learn More

Create a WinForms Viewer for Displaying a Dashboard

This topic describes how to build a simple dashboard viewer application and use it to display the dashboard created in Create a Dashboard using the WinForms Designer.

Follow the steps below.

  1. Run Visual Studio and create a new Windows Forms Application.

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


    Note that the DashboardViewer control does not support the .NET Framework 4.0 Client Profile. See How to: Target a Version of the .NET Framework to learn how to target a specific .NET Framework version.

  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.

    As an alternative, you can select a dashboard created at design time.

  5. Run the application to see the results.

Is this topic helpful?​​​​​​​