dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-a7482677.md
Occurs before data is loaded from the data store and allows you to customize dashboard parameters that are used for data processing.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public event CustomParametersEventHandler CustomParameters
Public Event CustomParameters As CustomParametersEventHandler
The CustomParameters event's data class is CustomParametersEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Parameters | Gets or sets dashboard parameters. |
The CustomParameters event provides access to a collection of dashboard parameters (CustomParametersEventArgs.Parameters) and allows you to change actual parameter values, parameter settings or even add new parameters. Note that parameter values specified in the CustomParameters event handler are used only for data processing and are not displayed in the Dashboard Parameters dialog.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomParameters event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
dashboardDesigner.LoadDashboard(@"Dashboards\dashboard1.xml");
dashboardDesigner.CustomParameters += DashboardDesigner_CustomParameters;
}
dashboardDesigner.LoadDashboard("Dashboards\dashboard1.xml")
AddHandler dashboardDesigner.CustomParameters, AddressOf DashboardDesigner_CustomParameters
End Sub
See Also