Skip to main content

FormItemEditorFactory.SelectBox() Method

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

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SelectBoxBuilder SelectBox()

Returns

Type Description
SelectBoxBuilder

An instance of SelectBoxBuilder.

Remarks

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