Skip to main content

WidgetFactory<TModel>.SelectBox() Method

Creates a SelectBox control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SelectBoxBuilder SelectBox()

Returns

Type Description
SelectBoxBuilder

An instance of SelectBoxBuilder.

Remarks

This method creates a SelectBoxBuilder class instance whose members can be used to specify SelectBox options.

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