Skip to main content

WidgetFactory<TModel>.DropDownBox() Method

Creates a DropDownBox control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DropDownBoxBuilder DropDownBox()

Returns

Type Description
DropDownBoxBuilder

An instance of DropDownBoxBuilder.

Remarks

This method creates a DropDownBoxBuilder class instance whose members can be used to specify DropDownBox options.

@(Html.DevExtreme().DropDownBox() // create a DropDownBox
    // call methods to specify control options
)
See Also