FormItemEditorFactory.DropDownBox() Method

Creates a DropDownBox control that is used as a form item's editor.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DropDownBoxBuilder DropDownBox()

Returns

Type Description
DropDownBoxBuilder

An instance of DropDownBoxBuilder.

Remarks

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