Skip to main content
A newer version of this page is available. .

OptionsColumnFilter.AllowFilterModeChanging Property

Gets or sets whether a dedicated menu item is available in a column header menu that allows an end-user to change the filter mode for columns.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v21.2.dll

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowFilterModeChanging { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean value that specifies that a user can change a column’s filter mode via a menu item.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowFilterModeChanging
GridColumn
.OptionsFilter .AllowFilterModeChanging

Remarks

A column’s filter mode (GridColumn.FilterMode) specifies how the column’s values are filtered - by values or display values.

When the AllowFilterModeChanging property is set to True, a dedicated menu item is available in the Column Header Context Menu. It allows an end-user to change the filter mode dynamically at runtime.

The DefaultBoolean.Default value is interpreted as True if a column embeds any lookup editor (A LookUpEditBase class descendant). For other in-place editors, this option is regarded as False.

See Also