TreeList.ResetAutoFilterConditions() Method
Resets all columns’ auto filter row conditions to their default values.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Remarks
Use the ResetAutoFilterCondition(TreeListColumn), ResetAutoFilterConditions(IEnumerable<TreeListColumn>), and ResetAutoFilterConditions()
methods to reset auto filter row conditions.
using DevExpress.XtraTreeList.Columns;
// Reset the Phone column's auto filter row condition.
treeList1.ResetAutoFilterCondition(colPhone);
// Reset the Phone and Fax columns' auto filter row conditions.
treeList1.ResetAutoFilterConditions(new TreeListColumn[] { colPhone, colFax });
// Reset all columns' auto filter row conditions.
treeList1.ResetAutoFilterConditions();
See Also