Tag
A newer version of this page is available. Switch to the current version.

ColumnBase.FilterPopupMode Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public FilterPopupMode FilterPopupMode { get; set; }
Public Property FilterPopupMode As FilterPopupMode

Property Value

Type Description
FilterPopupMode

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

Remarks

TIP

Topic: Drop-down Filter

By default, filter dropdowns of date-time columns are represented by the calendar, filter dropdowns of all other columns are represented by regular lists.

Use the FilterPopupMode property to specify the required appearance of a column's filter dropdown.

The Drop-down Filter can be represented in the following ways.

Filter dropdown display mode

Column's FilterPopupMode value

a regular list of items (one item at a time can be selected)

FilterPopupMode.List

a checked list (multiple items can be selected/checked simultaneously)

FilterPopupMode.CheckedList

a calendar (for date-time columns)

FilterPopupMode.Date

FilterPopupMode.DateAlt

FilterPopupMode.DateCompact

FilterPopupMode.DateSmart

an Excel style filter dropdown

FilterPopupMode.Excel (previous)

FilterPopupMode.ExcelSmart (new; works starting with v18.2)

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 / FilterPopupMode.ExcelSmart and assign the template to the ColumnBase.CustomColumnFilterPopupTemplate.

See Also