Skip to main content
A newer version of this page is available. .

IAutoCompleteItemsProvider.GetAutoCompleteItems(String, Int32) Method

Returns the collection of suggestions corresponding to a specific caret position within an expression.

Namespace: DevExpress.Data.Controls.ExpressionEditor

Assembly: DevExpress.Data.v19.1.dll

Declaration

IEnumerable<AutoCompleteItem> GetAutoCompleteItems(
    string expression,
    int caretPosition
)

Parameters

Name Type Description
expression String

A String value, specifying the expression.

caretPosition Int32

An integer value, specifying the symbol in the expression where the caret position is.

Returns

Type Description
IEnumerable<AutoCompleteItem>

A collection of AutoCompleteItem objects.

See Also