ColumnBase.FilterPopupMode Property

Gets or sets the display mode of the column’s filter dropdown. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

Declaration

[XtraSerializableProperty]
public FilterPopupMode FilterPopupMode { get; set; }

Property Value

Type Description
FilterPopupMode

A FilterPopupMode enumeration value that specifies the display mode of the column’s filter dropdown.

Available values:

Name Description
Default

A filter dropdown is represented as a regular list of items (one item at a time can be selected).

List

A filter dropdown is represented as a checked list.

Custom

A filter dropdown is represented by a custom template assigned to the ColumnBase.CustomColumnFilterPopupTemplate property.

Date

A date-time filter dropdown with a set of predefined values.

DateAlt

A date-time filter dropdown with an alternative set of predefined values.

DateSmart

A date-time filter dropdown with a set of predefined values that is based on the column’s data.

DateCompact

A date-time filter dropdown without predefined values.

Remarks

The Filter Dropdown can be represented as a regular list of items (one item at a time can be selected), as a checked list (multiple items can be selected/checked simultaneously) or as a calendar (for date-time columns). By default, filter dropdowns of date-time columns are represented by the calendar, filter dropdowns of all other columns are represented by regular lists. To use a checked filter dropdown list for a column, set the column’s FilterPopupMode property to FilterPopupMode.List.

If you don’t want to use built-in filter dropdowns, you can provide your own filter dropdown via templates. In this instance, set the FilterPopupMode property to FilterPopupMode.Custom and assign the template to the ColumnBase.CustomColumnFilterPopupTemplate.

To learn more, see Filter Dropdown.

See Also