Skip to main content

ToolbarItemFactory.SelectBox() Method

Creates a SelectBox control that represents a toolbar item.

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().Toolbar()
    .Items(items => {
        items.Add()
            .Widget(w => w.SelectBox()
                // call methods in a chain to customize the control
            );
    })
)
See Also