CheckBoxGroupBuilder
Defines the fluent API for configuring the Kendo CheckBoxGroup for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CheckBoxGroupBuilder : WidgetBuilderBase<CheckBoxGroup, CheckBoxGroupBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<CheckBoxGroup, CheckBoxGroupBuilder>CheckBoxGroupBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the CheckBoxGroup class.
public CheckBoxGroupBuilder(CheckBoxGroup component)
The component.
Methods
A collection of items to be rendered as radio buttons in the RadioGroup. If the array contains objects, their fields will be used for each radio button. If the array contains strings, those will be used as both value and label of the respective radio button.
public CheckBoxGroupBuilder BindTo(IList<IInputGroupItem> values)
The collection of items.
Returns:Array of items to be rendered as radio buttons in the RadioGroup. The strings in the array will be used as both value and label of the respective radio button.
public CheckBoxGroupBuilder BindTo(string[] values)
The array of items.
Returns:Sets the enabled state of all checkboxes in the CheckBoxGroup.
public CheckBoxGroupBuilder Enabled(bool value)
The boolean value that configures the state.
Returns:Configures the client-side events.
public CheckBoxGroupBuilder Events(Action<CheckBoxGroupEventBuilder> configurator)
The client events action.
Returns:The name attribute to be used for the checkbox inputs. If omitted, the id of the wrapper element will be used.
public CheckBoxGroupBuilder InputName(string value)
The value that configures the inputname.
Returns:Sets a value controlling the border radius of the input.
public CheckBoxGroupBuilder InputRounded(Rounded value)
The value that configures the inputrounded.
Returns:Sets a value controlling the size of the input.
public CheckBoxGroupBuilder InputSize(ComponentSize value)
The value that configures the inputsize.
Returns:Array of items to be rendered as checkboxes in the CheckBoxGroup. If the array contains objects, their fields will be used for each checkbox configuration. If the array contains strings, those will be used as both value and label of the respective checkbox.
public CheckBoxGroupBuilder Items(Action<CheckBoxGroupItemFactory> configurator)
The action that configures the items.
Returns:Specifies the label position according to its input for all items in the widget. Accepts Before and After. The default value is After.
public CheckBoxGroupBuilder LabelPosition(CheckBoxGroupLabelPosition value)
The value that configures the labelposition.
Returns:Specifies the label position according to its radio button for all items in the component. Accepts "before" and "after". The default value is "after".
public CheckBoxGroupBuilder LabelPosition(string value)
The value that configures the labelposition.
Returns:Specifies whether the checkbox inputs will be rendered one below the other (Vertical) or on the same line (Horizontal). The default value is Vertical.
public CheckBoxGroupBuilder Layout(CheckBoxGroupLayout value)
The value that configures the layout.
Returns:Specifies whether the radio buttons will be rendered one below the other ("vertical") or on the same line ("horizontal"). The default value is "vertical".
public CheckBoxGroupBuilder Layout(string value)
The value that configures the layout.
Returns:Array of strings to specify the widget value.
public CheckBoxGroupBuilder Value(IEnumerable<string> value)
The array of values.
Returns: