CheckBoxBuilder
Defines the fluent API for configuring the Kendo UI CheckBox
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CheckBoxBuilder : WidgetBuilderBase<CheckBox, CheckBoxBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<CheckBox, CheckBoxBuilder>CheckBoxBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the CheckBoxBuilder class.
Methods
The checked state of the CheckBox.
The checked state of the CheckBox.
public CheckBoxBuilder Checked(bool value)
The value for Checked
Returns:Returns the current CheckBoxBuilder instance.
If set to false, the CheckBox will be disabled and will not allow the user to change its checked state.
public CheckBoxBuilder Enable(bool value)
The value for Enabled
Returns:Returns the current instance of CheckBoxBuilder for method chaining.
Determines whether the checkbox label content should be rendered as an HTML string or it should be encoded.
public CheckBoxBuilder Encoded(bool value)
The value for Encoded
Returns:Returns the current CheckBoxBuilder instance.
Configures the client-side events.
public CheckBoxBuilder Events(Action<CheckBoxEventBuilder> configurator)
The client events action.
Returns:Returns the current CheckBoxBuilder instance.
Specifies the label content for the checkbox.
public CheckBoxBuilder Label(string value)
The value for Label
Returns:Returns the current CheckBoxBuilder instance.
Sets a value controlling the border radius.
public CheckBoxBuilder Rounded(Rounded value)
The value for Rounded
Returns:Returns the current CheckBoxBuilder instance.
Sets a value controlling the size of the component.
public CheckBoxBuilder Size(ComponentSize value)
The value for Size
Returns:Returns the current CheckBoxBuilder instance.