Defines the fluent API for configuring CheckBoxGroupItem
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CheckBoxGroupItemBuilder
Inheritance: objectCheckBoxGroupItemBuilder
Inherited Members
Constructors
CheckBoxGroupItemBuilder method.
public CheckBoxGroupItemBuilder(CheckBoxGroupItem container)
Properties
Gets the settings being configured.
protected CheckBoxGroupItem Container { get; }
Methods
Any custom classes that should be attached to the k-checkbox-item element.
public CheckBoxGroupItemBuilder CssClass(string value)
The value for CssClass
Returns:Returns the current CheckBoxGroupItemBuilder instance.
Defines whether the checkbox is enabled or not. By default all checkboxes are enabled.
public CheckBoxGroupItemBuilder Enabled(bool value)
The value for Enabled
Returns:Returns the current CheckBoxGroupItemBuilder instance.
Determines whether the checkbox label content should be rendered as an HTML string or it should be encoded.
public CheckBoxGroupItemBuilder Encoded(bool value)
The value for Encoded
Returns:Returns the current CheckBoxGroupItemBuilder instance.
public CheckBoxGroupItemBuilder HtmlAttributes(IDictionary<string, object> value)
Collection of key-value pairs that would be used to generate the attributes attached to each k-checkbox-item element.
public CheckBoxGroupItemBuilder HtmlAttributes(object value)
The value for HtmlAttributes
Returns:Returns the current CheckBoxGroupItemBuilder instance.
Specifies the label content for the checkbox.
public CheckBoxGroupItemBuilder Label(string value)
The value for Label
Returns:Returns the current CheckBoxGroupItemBuilder instance.
Specifies the value for the checkbox.
public CheckBoxGroupItemBuilder Value(string value)
The value for Value
Returns:Returns the current CheckBoxGroupItemBuilder instance.