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.DoIncrementalSearch(Boolean) Method

Continues the incremental search that is in progress in the specified direction.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public bool DoIncrementalSearch(
    bool down
)

#Parameters

Name Type Description
down Boolean

true to continue the incremental search forward; false to continue the incremental search backward.

#Returns

Type Description
Boolean

true if another node with the specified search string has been found and focused; otherwise, false.

#Remarks

The TreeListOptionsFind.AllowIncrementalSearch option enables incremental search. In this mode, end-users are permitted to locate records by typing text within cells. Typing text locates a row whose column value starts with the typed text. To start an incremental search in code, use the TreeList.StartIncrementalSearch method.

To continue the search backward or forward, press CTRL+UP ARROW or CTRL+DOWN ARROW, respectively. The DoIncrementalSearch method allows you to continue the search in code.

See Also