Back to Devexpress

FormItemEditorFactory.DropDownBox() Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-factories-dot-formitemeditorfactory-6d43eaa9.md

latest1.1 KB
Original Source

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

csharp
public DropDownBoxBuilder DropDownBox()

Returns

TypeDescription
DropDownBoxBuilder

An instance of DropDownBoxBuilder.

|

Remarks

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

See Also

FormItemEditorFactory Class

FormItemEditorFactory Members

DevExtreme.AspNet.Mvc.Factories Namespace