Skip to main content

Parameter.AllowMultiselect Property

Gets or sets whether multi-selection is enabled for the dashboard parameter.

Namespace: DevExpress.DataAccess

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

NuGet Package: DevExpress.Dashboard.Core

Declaration

[DashboardLocalizableCategory(DashboardStringId.CategoryNameGeneral)]
[DefaultValue(false)]
public bool AllowMultiselect { get; set; }

Property Value

Type Default Description
Boolean false

true to allow end-users to select the multiple parameter values; otherwise, false.

Remarks

The following limitations apply to parameters with multi-selection enabled:

  • Use the Is any of or Is none of operators to pass a multi-select parameter to a filter criteria or to the Expression format condition.
  • Use the In or Not In operators to pass a multi-select parameter to a calculated field expression.
  • Custom SQL queries do not support multi-select parameters out of the box. For more information, refer to the following article: Use Query Parameters.
  • Stored procedures used in SQL and Entity Framework data sources do not support multi-select parameters out of the box. For more information, refer to the following article: Use Query Parameters.

For more information on how to map a multi-value dashboard to a query parameter, refer to the following article: Bind a Multi-Value Dashboard Parameter to a Query Parameter.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowMultiselect property.

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.

See Also