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

FormItemEditorFactory.Autocomplete() Method

Creates an Autocomplete control that is used as a form item’s editor.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public AutocompleteBuilder Autocomplete()

Returns

Type Description
AutocompleteBuilder

An instance of AutocompleteBuilder.

Remarks

@(Html.DevExtreme().Form()
    .Items(items => {
        items.AddSimple()
            .Editor(e => e.Autocomplete()
                // call methods in a chain to customize the control
            );
    })
)
See Also