Kendo.Mvc.UI.Fluent.ButtonGroupBuilder
Defines the fluent API for configuring the Kendo UI ButtonGroup
Methods
BindTo(System.Collections.Generic.IEnumerable<Kendo.Mvc.UI.ButtonGroupItem>)
BindTo method of the ButtonGroup
Parameters
items System.Collections.Generic.IEnumerable<Kendo.Mvc.UI.ButtonGroupItem>
The action that configures the items.
Enable(System.Boolean)
Defines if the widget is initially enabled or disabled. By default, it is enabled.
Parameters
value System.Boolean
The value for Enable
Index(System.Double)
Defines the initially selected Button (zero based index).
Parameters
value System.Double
The value for Index
Selection(System.String)
Defines the selection type.
Parameters
value System.String
The value for Selection
Items(System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupItemFactory>)
A JavaScript array that contains the ButtonGroup's items configuration.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupItemFactory>
The configurator for the items setting.
Events(System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupEventBuilder>
The client events action.
Example (ASPX)
@(Html.Kendo().ButtonGroup()
.Name("ButtonGroup")
.Events(events => events
.Select("onSelect")
)
)