Skip to content

This example shows how to override an initial or user-defined dashboard parameter value by changing it in the DashboardControl.CustomParameters event handler.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-dashboard-how-to-manage-dashboard-parameters-in-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for WPF - How to Manage Dashboard Parameters in Code

This example shows how to change a default or user-defined dashboard parameter value in the DashboardControl.CustomParameters event handler. The effective parameter value is hidden from users. Set the Visible property to false to hide the parameter from the Dashboard Parameters dialog.

In this example, the parameterState dashboard parameter with static look-up settings is added to the dashboard. This dashboard parameter is used to filter the data source. The Dashboard Parameters dialog displays the values and enables users to select a parameter value from the list. In the DashboardControl.CustomParameters event handler, we can change the value supplied by the user before it is passed to the query. In the result, the value defined in the DashboardControl.CustomParameters event is in effect.

Dashboard Parameter Dialog

Files to Review

Documentation

Does this example address your development requirements/objectives?

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

About

This example shows how to override an initial or user-defined dashboard parameter value by changing it in the DashboardControl.CustomParameters event handler.

Topics

Resources

License

Stars

Watchers

Forks