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.v19.1.dll
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 | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowFilterModeChanging |
---|---|
GridColumn |
|
LayoutViewColumn |
|
BandedGridColumn |
|
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.