Skip to main content

ToolbarItemFactory.DropDownButton() Method

Creates a DropDownButton control that represents a toolbar item.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DropDownButtonBuilder DropDownButton()

Returns

Type Description
DropDownButtonBuilder

An instance of DropDownButtonBuilder.

Remarks

@(Html.DevExtreme().Toolbar()
    .Items(items => {
        items.Add()
            .Widget(w => w.DropDownButton()
                // call methods in a chain to customize the control
            );
    })
)
See Also