TreeList.ResetAutoFilterConditions() Method

Resets all columns' auto filter row conditions to their default values.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public virtual void ResetAutoFilterConditions()
Public Overridable Sub ResetAutoFilterConditions

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