Back to Devexpress

ColumnViewOptionsFilter.ColumnFilterPopupMode Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsfilter-a09494f5.md

latest4.6 KB
Original Source

ColumnViewOptionsFilter.ColumnFilterPopupMode Property

Gets or sets the default display mode of filter dropdowns for columns in the current View.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ColumnFilterPopupMode.Default)]
[XtraSerializableProperty]
public ColumnFilterPopupMode ColumnFilterPopupMode { get; set; }
vb
<DefaultValue(ColumnFilterPopupMode.Default)>
<XtraSerializableProperty>
Public Property ColumnFilterPopupMode As ColumnFilterPopupMode

Property Value

TypeDefaultDescription
ColumnFilterPopupModeDefault

A value that specifies the default display mode of filter dropdowns for columns in the current View.

|

Available values:

NameDescription
Default

The type of column filter menus depends on the global WindowsFormsSettings.ColumnFilterPopupMode setting.

| | Excel |

Columns display Excel-style filter menus.

| | Classic |

Columns display classic drop-down filter menus.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ColumnFilterPopupMode
ColumnView

.OptionsFilter .ColumnFilterPopupMode

|

Remarks

Column filter dropdowns can be presented using the following display modes (the first two modes are also called classic ).

  • Regular list
  • Calendar (for date-time columns) - A window with an embedded calendar along with predefined filter items for quick selection of common date intervals
  • Checked list
  • MS Excel-inspired style

The style of column filter dropdowns can be set at three levels.

  1. Application level

  2. Control level

  3. Column level

The ColumnViewOptionsFilter.ColumnFilterPopupMode property can be set to one of the following values:

  • Default - The actual column filter dropdown style is specified by the WindowsFormsSettings.ColumnFilterPopupMode global setting.
  • Classic - Sets classic display styles as default in the current View. The classic presentation styles will be applied to columns that have the GridColumn.OptionsFilter.FilterPopupMode property set to Default. Otherwise, column filter dropdowns will be presented according to the GridColumn.OptionsFilter.FilterPopupMode property.
  • Excel - Sets the MS Excel-inspired filter dropdown style as default in the current View. This presentation mode will be applied to columns that have the GridColumn.OptionsFilter.FilterPopupMode property set to Default. Otherwise, column filter dropdowns will be presented according to the GridColumn.OptionsFilter.FilterPopupMode property.

For more details on Excel-inspired filter dropdowns, see Filter and Search.

See Also

Filter and Search

ColumnFilterPopupMode

FilterPopupMode

ColumnViewOptionsFilter Class

ColumnViewOptionsFilter Members

DevExpress.XtraGrid.Views.Base Namespace