Skip to main content

TreeList.ResetAutoFilterCondition(TreeListColumn) Method

Resets the specified column’s auto filter row condition to its default value.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public virtual void ResetAutoFilterCondition(
    TreeListColumn column
)

Parameters

Name Type Description
column TreeListColumn

A TreeListColumn object that specifies the tree list column whose auto filter row condition 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