WindowsFormsSettings.ColumnAutoFilterMode Property
Allows you to restore default filtering conditions for all Data Grid auto-filter rows to their 16.2 versions.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
DevExpress.XtraEditors.ColumnAutoFilterMode | A DevExpress.XtraEditors.ColumnAutoFilterMode enumerator value. |
Remarks
In DevExpress installations of version 17.1, Data Grid auto-filter rows have drastically changed:
- default filter operators now depend on column data types instead of applying the BeginsWith operator for all columns;
- end-users can manually select a filtering operator by clicking auto-filter row icons.
There are three ways to undo these changes.
- Revert all changes introduced in version 17.1 by changing the WindowsFormsSettings.DefaultSettingsCompatibilityMode property. See Version Compatibility: Default Property Values to learn more.
- Disable the WindowsFormsSettings.AllowAutoFilterConditionChange property, change the GridColumn.FilterMode property to DisplayText and set the OptionsColumnFilter.AutoFilterCondition to “BeginsWith”. This approach allows you to keep the remaining 17.1 features.
- Disable the WindowsFormsSettings.AllowAutoFilterConditionChange property and set the ColumnAutoFilterMode property to Text. This approach is faster than the previous method as it affects all Data Grids in your application at once and does not force you to modify every column individually.
See Also