Skip to main content

TreeList.ResetAutoFilterConditions(IEnumerable<TreeListColumn>) Method

Resets the specified columns’ auto filter row conditions to their default values.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

public virtual void ResetAutoFilterConditions(
    IEnumerable<TreeListColumn> columns
)

Parameters

Name Type Description
columns IEnumerable<TreeListColumn>

An array of TreeListColumn objects that specify the tree list columns whose auto filter row conditions are to be reset.

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