You can enable/disable this feature manually using a custom ViewController added to your WinForms module project. See also:
Refer to the WinForms Controls > Controls and Libraries > Tree List > Visual Elements > Auto Filter Row documentation for more information.
As far as XAF is concerned, at the moment this task requires implementing a TreeListEditor descendant or rather a custom ListEditor based on the TreeList control, for at least the following reasons:
1. The DevExpress.ExpressApp.TreeListEditors.Win.TreeListEditor.treeList_DoubleClick method needs to be modified to skip further processing of the ListViewProcessCurrentObjectController class for auto filter row cells.
2. In many cases it is necessary to handle the TreeList.CustomNodeCellEdit event to assign particular in-place editors to cells in the Auto Filter Row based on the IModelListViewShowAutoFilterRow.ShowAutoFilterRow option. In this event handler, determine if a processed node is the Auto Filter Row by using the static TreeList.AutoFilterNodeId field and assign the required repository item to a cell by setting the e.RepositoryItem property.
3. Preserve and restore the TreeList.OptionsView.ShowAutoFilterRow option based on the IModelListViewShowAutoFilterRow.ShowAutoFilterRow option (implemented in v18.1.5+ for T646981).
Other standard XAF scenarios must be checked for correct operation with this feature.