Skip to main content
All docs
V22.1

LookUpEditBase.StartAutoSuggest(String, Boolean) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool StartAutoSuggest(
    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 succesfully triggered; otherwise, false.

See Also