Skip to main content

ToolbarItemFactory.Autocomplete() Method

Creates an Autocomplete control that represents a toolbar item.

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().Toolbar()
    .Items(items => {
        items.Add()
            .Widget(w => w.Autocomplete()
                // call methods in a chain to customize the control
            );
    })
)
See Also