Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.FindFilterText Property

Gets the query in the Find Panel.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[Browsable(false)]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public string FindFilterText { get; set; }

#Property Value

Type Description
String

A String value that specifies the query in the Find Panel.

#Remarks

Use the FindFilterText property to get the applied search/find query.

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