The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardDataLoadingEventArgs.Parameters Property

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

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

public IEnumerable<IParameter> Parameters { get; }
Public ReadOnly Property Parameters As IEnumerable(Of IParameter)

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