Back to Devexpress

DashboardDesigner.CustomParameters Event

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-a7482677.md

latest3.7 KB
Original Source

DashboardDesigner.CustomParameters Event

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

Declaration

csharp
public event CustomParametersEventHandler CustomParameters
vb
Public Event CustomParameters As CustomParametersEventHandler

Event Data

The CustomParameters event's data class is CustomParametersEventArgs. The following properties provide information specific to this event:

PropertyDescription
ParametersGets or sets dashboard parameters.

Remarks

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.

winforms-dashboard-pass-dashboard-parameters-to-stored-procedure/CS/DashboardParameters/DesignerForm1.cs#L9

csharp
dashboardDesigner.LoadDashboard(@"Dashboards\dashboard1.xml");
    dashboardDesigner.CustomParameters += DashboardDesigner_CustomParameters;
}

winforms-dashboard-pass-dashboard-parameters-to-stored-procedure/VB/DashboardParameters/DesignerForm1.vb#L12

vb
dashboardDesigner.LoadDashboard("Dashboards\dashboard1.xml")
    AddHandler dashboardDesigner.CustomParameters, AddressOf DashboardDesigner_CustomParameters
End Sub

Implements

CustomParameters

See Also

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace