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.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
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 | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowFilterModeChanging |
---|---|
GridColumn |
|
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.