Defines the fluent API for configuring the SegmentedControlItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SegmentedControlItemBuilder
Inheritance: objectSegmentedControlItemBuilder
Inherited Members
Constructors
Initialize the SegmentedControlItemBuilder
public SegmentedControlItemBuilder(SegmentedControlItem settings)
Methods
Configures whether an individual button can be enabled or disabled.
public SegmentedControlItemBuilder Enabled(bool value)
The value that configures the enabled.
Returns:Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the button.
public SegmentedControlItemBuilder Icon(string value)
The value that configures the icon.
Returns:If set, value will be appended to the icon's element class attribute.
public SegmentedControlItemBuilder IconClass(string value)
The value that configures the iconclass.
Returns:If set, the text will be rendered as the button label.
public SegmentedControlItemBuilder Text(string value)
The value that configures the text.
Returns:Specifies the value that will act as an identifier for the button. Will be supplemented as a data-value attribute.
public SegmentedControlItemBuilder Value(string value)
The value that configures the value.
Returns: