Skip to main content
A newer version of this page is available. .
All docs
V21.2

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.v21.2.dll

NuGet Packages: DevExpress.Win.Design, 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