Skip to main content

DateFilterDashboardItem.ArrangementMode Property

Gets or sets a layout of the elements inside the Date Filter.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

[DefaultValue(DateFilterArrangementMode.AutoHeight)]
public DateFilterArrangementMode ArrangementMode { get; set; }

#Property Value

Type Default Description
DateFilterArrangementMode AutoHeight

A DateFilterArrangementMode enumeration member that specifies how the DateFilter item organizes its elements.

Available values:

Name Description
AutoHeight

Elements are arranged in horizontal order in a row and moved to the next row(s) when the Date Filter’s width is not sufficient. In a dashboard with several dashboard items laid out vertically, the Date Filter’s height is set to the minimum value required to fit Date Filter elements.

Horizontal

Elements are arranged in horizontal order in a row and moved to the next row(s) when the Date Filter’s width is not sufficient.

Vertical

Elements are arranged in vertical order in a column and moved to the next column(s) when the Date Filter item’s height is not sufficient.

#Remarks

The table below illustrates available arrangement modes:

Arrangement Mode

Image

Auto Height

Auto Height

Vertical

Vertical

Horizontal

Horizontal

Use the DateFilterDashboardItem.DateTimePeriods property to create quick filter elements.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ArrangementMode 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