Kendo.Mvc.UI.Fluent.CheckBoxBuilder
Defines the fluent API for configuring the Kendo CheckBox for ASP.NET MVC.
Methods
Checked(System.Boolean)
The checked state of the CheckBox.
Parameters
value System.Boolean
The value that configures the checked.
Encoded(System.Boolean)
Determines whether the checkbox label content should be rendered as an HTML string or it should be encoded.
Parameters
value System.Boolean
The value that configures the encoded.
Label(System.String)
Specifies the label content for the checkbox.
Parameters
value System.String
The value that configures the label.
Value(System.String)
The value attribute of the widget input element.
Parameters
value System.String
The value that configures the value.
Size(Kendo.Mvc.UI.ComponentSize)
Sets a value controlling the size of the component.
Parameters
value Kendo.Mvc.UI.ComponentSize
The value that configures the size.
Rounded(Kendo.Mvc.UI.Rounded)
Sets a value controlling the border radius.
Parameters
value Kendo.Mvc.UI.Rounded
The value that configures the rounded.
Enable(System.Boolean)
If set to false, the CheckBox will be disabled and will not allow the user to change its checked state.
Parameters
value System.Boolean
The value that configures the enabled.
Events(System.Action<Kendo.Mvc.UI.Fluent.CheckBoxEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.CheckBoxEventBuilder>
The client events action.
Example (ASPX)
<%= Html.Kendo().CheckBox()
.Name("CheckBox")
.Events(events => events
.Change("onChange")
)
%>