Contains values that specify the filter dropdown style for grid columns.
The actual display mode is determined by the View’s OptionsFilter.ColumnFilterPopupMode (ColumnViewOptionsFilter.ColumnFilterPopupMode) property.
If the View’s OptionsFilter.ColumnFilterPopupMode property is set to Classic:
If the View’s OptionsFilter.ColumnFilterPopupMode property is set to Default (which is the initial value):
If the WindowsFormsSettings.ColumnFilterPopupMode property is also set to Default (which is the initial value):
The filter dropdown is represented as a regular list of filter items. Clicking an item invokes a corresponding action, and automatically closes the dropdown.
The filter dropdown is represented as a checked list of filter items. In this mode, an end-user can select more than one item simultaneously. When the dropdown window is closed by clicking the OK button, the View will display those records that contain the checked values:
This mode is equivalent to DateSmart regarding the appearance of the filter dropdown. The filter dropdown displays all the available check boxes, even if there is no data that falls into a corresponding date range.
The filter dropdown provides a built-in calendar plus check boxes to select common non-intersecting date intervals.
The table below describes the available date ranges for the DateSmart and Date modes.
| Interval | Description | ||| | Beyond this year | Dates that follow the current year. | | Later this year | Dates of the current year starting from the following month. | | Later this month | Dates of the current month that follow the next week. | | Next week | Dates that belong to the following week. | | Later this week | Dates of the current week starting from the day after tomorrow. | | Tomorrow | Tomorrow. | | Today | Today. | | Yesterday | Yesterday. | | Earlier this week | Dates of the current week that are prior to yesterday. | | Last week | Dates of the previous week. | | Earlier this year | Dates of the current year that are prior to the current month. | | Prior to this year | Dates that are prior to the current year. |
If there is no underlying data that would fall into a specific date range, the corresponding check box is hidden.
If all values in the date-time column are set to null, all check boxes are visible.
This mode is equivalent to DateSmart, but with a different set of filters: Today, This week, This month, Next month, etc.
The table below describes several of the date ranges for the DateAlt mode.
| Interval | Description | ||| | Beyond | Dates that belong to the month in three months time and beyond. | | Earlier | Dates that belong to the month seven months ago and earlier. |
The tabbed UI, inspired by MS Excel, that displays column values and provides filtering options most suitable for the column’s data type.
Related API Members
The following properties accept/return FilterPopupMode values:
The style of column filter dropdowns can be set at three levels.
The static WindowsFormsSettings.ColumnFilterPopupMode property specifies the default column filter dropdown style for all GridControls in your application.
A View’s ColumnViewOptionsFilter.ColumnFilterPopupMode property (ColumnView.OptionsFilter.ColumnFilterPopupMode) specifies the default column filter dropdown style in a certain View. This setting overrides the WindowsFormsSettings.ColumnFilterPopupMode global setting.
A column’s OptionsColumnFilter.FilterPopupMode property (of the FilterPopupMode enumeration type) specifies the filter dropdown style for a specific column. This setting overrides the ColumnView.OptionsFilter.ColumnFilterPopupMode setting.