Skip to main content

ColumnBase.FilterPopupMode Property

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

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(FilterPopupMode.Default, Handler = "OnFilterPopupModeChanged")]
public FilterPopupMode FilterPopupMode { get; set; }

Property Value

Type Description
FilterPopupMode

The display mode of the column’s drop-down filter.

Available values:

Name Description
Default

An Excel-style drop-down filter.

List

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

Custom

A custom template assigned to the ColumnBase.CustomColumnFilterPopupTemplate property specifies the drop-down filter.

Date

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

DateAlt

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

DateSmart

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

DateCompact

A date-time drop-down filter without predefined values.

Excel

An Excel-style drop-down filter.

Disabled

Hides the Show Drop-down Filter button from the column’s header.

Remarks

The GridControl displays an Excel-style drop-down filter for all columns.

WinUI Grid - Excel Filter

You can set the column’s FilterPopupMode property to FilterPopupMode.List to display a filter that allows users to select one item at a time.

WinUI Grid: drop-down filter

Do the following to create a custom drop-down filter:

For more information, refer to the following help topic: Filter Data.

See Also