TreeList.ResetAutoFilterCondition(TreeListColumn) Method

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public virtual void ResetAutoFilterCondition(
    TreeListColumn column
)
Public Overridable Sub ResetAutoFilterCondition(
    column As TreeListColumn
)

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