Skip to main content
All docs
V26.1
  • TreeList.ClearFindFilter() Method

    Discards the query in the Find Panel.

    Namespace: DevExpress.XtraTreeList

    Assembly: DevExpress.XtraTreeList.v26.1.dll

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

    Declaration

    public void ClearFindFilter()

    Remarks

    Use the ApplyFindFilter(String) and ClearFindFilter() methods to apply and discard a search/filter query in code. See Find Panel Syntax to learn how to build queries.

    // Specify a query.
    treeList1.ApplyFindFilter("foo");
    
    // Discard the query.
    treeList1.ClearFindFilter();
    // You can also pass an empty string
    // to discard the query.
    treeList1.ApplyFindFilter(String.Empty);
    
    See Also