ButtonGroupBuilder
Defines the fluent API for configuring the Kendo ButtonGroup for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ButtonGroupBuilder : WidgetBuilderBase<ButtonGroup, ButtonGroupBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ButtonGroup, ButtonGroupBuilder>ButtonGroupBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ButtonGroup class.
Methods
BindTo method of the ButtonGroup
public ButtonGroupBuilder BindTo(IEnumerable<ButtonGroupItem> items)
The action that configures the items.
Returns:Defines if the widget is initially enabled or disabled.
public ButtonGroupBuilder Enable(bool value)
The value that configures the enable.
Returns:Configures the client-side events.
public ButtonGroupBuilder Events(Action<ButtonGroupEventBuilder> configurator)
The client events action.
Returns:Sets a value controlling how the color is applied.
public ButtonGroupBuilder FillMode(ButtonFillMode? value)
The value that configures the fillMode
Returns:Defines the initially selected Button (zero based index).
public ButtonGroupBuilder Index(int value)
The value that configures the index.
Returns:Contains the items of the button group widget
public ButtonGroupBuilder Items(Action<ButtonGroupItemFactory> configurator)
The action that configures the items.
Returns:Sets a value controlling the border radius.
public ButtonGroupBuilder Rounded(Rounded? value)
The value that configures the rounded
Returns:Accepts "multiple" and "single".By default, single selection is enabled.
public ButtonGroupBuilder Selection(string value)
The value that configures the selecton.
Returns:Sets the size of the component.
public ButtonGroupBuilder Size(ComponentSize? value)
The value that configures the size
Returns:Sets the color of the component according to the applied theme.
public ButtonGroupBuilder ThemeColor(ThemeColor? value)
The value that configures the themeColor
Returns: