Skip to main content

DashboardDataLoadingEventArgs.Parameters Property

Provides access to dashboard parameters required to modify your data query.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public IEnumerable<IParameter> Parameters { get; }

Property Value

Type Description
IEnumerable<IParameter>

A collection of dashboard parameters.

Remarks

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;
See Also