Skip to content

The following example shows how to integrate the Dashboard Diagnostic Tool's functionality in the Dashboard Designer to allow users to inspect the dashboard's performance.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/dashboard-for-winforms-diagnose-performance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for WinForms - Inspect the Dashboard Performance

The following example shows how to integrate the Dashboard Diagnostic Tool's functionality in the Dashboard Designer to allow users to inspect the dashboard's performance.

Overview

The Inspect button is inserted into the custom Ribbon's Performance Diagnostics page group. The button click starts a new diagnostic session. The Dashboard Diagnostic Tool monitors user actions to collects actions for each event of the event session. When you uncheck the button, the session ends and the resulting report is automatically saved to the XML file. You can open the report in the Diagnostic Tool UI.

Dashboard Diagnostic Tool integrated into the Dashboard Designer

Files to Review

DesignerForm1.cs

Inspect the Dashboard Performance in the Dashboard Designer

  1. Download the Dashboard Diagnostic Tool.

  2. Reference DiagnosticTool.dll and install the Microsoft.Diagnostics.Tracing.TraceEvent package in your dashboard project.

  3. Create a custom button and insert it in the Ribbon.

  4. Create a DiagnosticController object.

  5. Call the controller's Start() and Stop() methods on a button click to run and finish the Dashboard Diagnostic Tool's session.

  6. Implement the IFileController interface and specify the output file path in the TrySaveFile method. Pass a new class instance that implements IFileController in the controller's constructor.

  7. To save the resulting report to the specified output path, call the controller's Save() method.

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

The following example shows how to integrate the Dashboard Diagnostic Tool's functionality in the Dashboard Designer to allow users to inspect the dashboard's performance.

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages