dashboard-devexpress-dot-dashboardcommon-dot-dashboarddataloadingeventargs-a296aa6d.md
Provides access to dashboard parameters required to modify your data query.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public IEnumerable<IParameter> Parameters { get; }
Public ReadOnly Property Parameters As IEnumerable(Of IParameter)
| Type | Description |
|---|---|
| IEnumerable<IParameter> |
A collection of dashboard parameters.
|
When the a new parameter is added to the dashboard or a parameter’s value is changed, the Dashboard.DataLoading event occurs. The Parameters property allows obtaining the current parameter values.
The IParameter object has the Name property that is the parameter’s name and the Value property containing the parameter’s value.
To obtain a current value of the “Parameter1” dashboard parameter, use the following code:
var parameterValue = e.Parameters.FirstOrDefault(p => p.Name == "Parameter1")?.Value;
Dim parameterValue = e.Parameters.FirstOrDefault(Function(p) p.Name = "Parameter1")?.Value
See Also
Dashboard Parameters in Windows Forms
DashboardDataLoadingEventArgs Class