windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumnfilter-8f7ea7e5.md
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.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowFilterModeChanging { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property AllowFilterModeChanging As DefaultBoolean
| 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 | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
You can access this nested property as listed below:
| Object Type | Path to AllowFilterModeChanging |
|---|---|
| GridColumn |
.OptionsFilter .AllowFilterModeChanging
|
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