Defines the fluent API for configuring the Kendo SegmentedControl for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SegmentedControlBuilder : WidgetBuilderBase<SegmentedControl, SegmentedControlBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<SegmentedControl, SegmentedControlBuilder>SegmentedControlBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the SegmentedControl class.
public SegmentedControlBuilder(SegmentedControl component)
The component.
Methods
Configures whether the SegmentedControl will be enabled or disabled.
public SegmentedControlBuilder Enabled(bool value)
The value that configures the enabled.
Returns:Configures the client-side events.
public SegmentedControlBuilder Events(Action<SegmentedControlEventBuilder> configurator)
The client events action.
Returns:Configures the different buttons that will be rendered inside the SegmentedControl.
public SegmentedControlBuilder Items(Action<SegmentedControlItemFactory> configurator)
The action that configures the items.
Returns:Sets a value that will shape the layout mode of the SegmentedControl.
public SegmentedControlBuilder LayoutMode(SegmentedButtonLayoutMode value)
The value that configures the layoutmode.
Returns:The selected value of the component. Must match the value of one of the items.
public SegmentedControlBuilder SelectedValue(string value)
The value that configures the selectedvalue.
Returns:Sets the size of the component.
public SegmentedControlBuilder Size(ComponentSize value)
The value that configures the size.
Returns: