Skip to main content
All docs
V23.2

LookUpEditBase.StartAutoSearch(String, Boolean) Method

Sets the current editor text and triggers the AutoSearch event (LookUpEdit.AutoSearch or GridLookUpEdit.AutoSearch).

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool StartAutoSearch(
    string text,
    bool selectAll = false
)

Parameters

Name Type Description
text String

The new editor text. This value is passed to the event’s “Text” parameter.

Optional Parameters

Name Type Default Description
selectAll Boolean False

true if the editor should select its current text; otherwise, false.

Returns

Type Description
Boolean

true if the event was successfully triggered and the auto-search occurred; otherwise, false.

See Also