Skip to main content

TreeList.DoIncrementalSearch(Boolean) Method

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.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

An incremental search feature can be enabled via the TreeListOptionsBehavior.AllowIncrementalSearch option. 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