Skip to main content

WidgetFactory<TModel>.ButtonGroup() Method

Creates a ButtonGroup control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ButtonGroupBuilder ButtonGroup()

Returns

Type Description
ButtonGroupBuilder

An instance of ButtonGroupBuilder.

Remarks

This method creates a ButtonGroupBuilder class instance whose members can be used to specify ButtonGroup options.

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