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 |
---|---|
Filter |
The display mode of the column’s drop-down filter. |
Available values:
Name | Description |
---|---|
Default | |
List | A list of items (one item at a time can be selected). |
Custom | A custom template assigned to the Column |
Date | A date-time drop-down filter with a set of predefined values. |
Date |
A date-time drop-down filter with an alternative set of predefined values. |
Date |
A date-time drop-down filter with a set of predefined values that are based on the column’s data. |
Date |
A date-time drop-down filter without predefined values. |
Excel | |
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.
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.
Do the following to create a custom drop-down filter:
- Set the FilterPopupMode property to FilterPopupMode.Custom.
- Create a drop-down filter template and assign it to the ColumnBase.CustomColumnFilterPopupTemplate property.
For more information, refer to the following help topic: Filter Data.