Skip to main content

ToolbarItemFactory.ButtonGroup() Method

Creates a ButtonGroup control that represents a toolbar item.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ButtonGroupBuilder ButtonGroup()

Returns

Type Description
ButtonGroupBuilder

An instance of ButtonGroupBuilder.

Remarks

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