Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Collapse]Dashboard
 [Collapse]Getting Started
   Creating a WinForms Designer and Using It to Create a Dashboard
   Creating a Dashboard at Design Time
   Creating an ASP.NET Designer and Using It to Create a Dashboard
   Creating an ASP.NET MVC Dashboard Designer Application
   Creating a WinForms Viewer and Using It to Display a Dashboard
   Creating an ASP.NET Viewer and Using It to Display a Dashboard
   Creating an ASP.NET MVC Viewer and Using It to Display a Dashboard
   Included Components
 [Expand]Basic Concepts and Terminology
 [Expand]Main Features
 [Expand]Preparing the Designer and Viewer Applications
 [Expand]Creating Dashboards
 [Expand]Examples
  Video Tutorials
  End-User Capabilities
  Localization
 [Expand]Redistribution and Deployment
 [Expand]Member Tables
 [Expand]API Reference
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
[Expand]End-User Documentation

Creating a WinForms Viewer and Using It to Display a Dashboard

In this lesson, you will create a simple dashboard viewer application and use it to display the existing dashboard.

Lesson requirements

To learn how to create the dashboard to be displayed in the WinForms viewer, refer to one of the following topics.

See Also

DevExpress Dashboards: Embedding for WinForms (YouTube)

Follow the steps below.

  1. Run Visual Studio and create a new Windows Forms Application.
  2. Drag the DashboardViewer control from the DX.17.1: Data & Analytics Toolbox tab and drop it onto the main form.

    Important

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

  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.

    To learn how to create a dashboard at design time, see Creating a Dashboard at Design Time.

  5. Run the application and see the results.

Expanded See Also

How would you rate this topic?​​​​​​​