Skip to main content

TreeList.StartIncrementalSearch(String) Method

Starts an incremental search for the specified string.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public void StartIncrementalSearch(
    string start
)

Parameters

Name Type Description
start String

The text to locate.

Remarks

This incremental search feature allows an end-user to search for a node based upon a column’s displayed text. The search is performed in a forward direction, starting from the currently focused node and only against the currently focused column. To enable the incremental search feature, set the TreeListOptionsFind.AllowIncrementalSearch option to true.

The StartIncrementalSearch method allows you to start the incremental search manually. The method’s parameter specifies the text to be found. You can stop the incremental search by calling the TreeList.StopIncrementalSearch method.

treeList1.OptionsFind.AllowIncrementalSearch = true;
treeList1.StartIncrementalSearch("my search string");
See Also