Skip to content

DevExpress-Examples/winforms-dashboard-viewer-default-parameter-values

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for WinForms - Specify Default Parameter Values for the Dashboard Loaded in the WinForms Viewer

This example demonstrates how to specify default parameter values when loading a dashboard.

Example Overview

Handle the SetInitialDashboardState event. Create a DashboardParameterState instance and use its Name and Value properties to configure parameter values. Create a DashboardState object and add the specified dashboard parameter to the DashboardState.Parameters collection. Assign the created DashboardState object to the SetInitialDashboardStateBaseEventArgs.InitialState property to apply specified parameter values when a dashboard is loading.

screenshot

Files to Review

Documentation

More Examples