Back to Devexpress

TreeList.FindFilterText Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-8a5d2fb5.md

latest2.7 KB
Original Source

TreeList.FindFilterText Property

Gets the query in the Find Panel.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public string FindFilterText { get; set; }
vb
<Browsable(False)>
<XtraSerializableProperty>
<XtraSerializablePropertyId(3)>
Public Property FindFilterText As String

Property Value

TypeDescription
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.

csharp
// 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);
vb
' 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

ShowFindPanel()

ApplyFindFilter(String)

Filtering

Find Panel Syntax

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace