CheckBox
Kendo UI CheckBox component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class CheckBox : WidgetBase, IHtmlAttributesContainer, IFormEditor
Inheritance: objectWidgetBaseCheckBox
Implements:
Inherited Members
Constructors
Initializes a new instance of the CheckBox class.
Properties
If set to false, the CheckBox will be disabled and will not allow the user to change its checked state.
public bool? Enabled { get; set; }
Determines whether the checkbox label content should be rendered as an HTML string or it should be encoded.
public bool? Encoded { get; set; }
Sets a value controlling the size of the component.
public ComponentSize? Size { get; set; }
Methods
BuildCheckBox method.
BuildHiddenInput method.
GetModelExplorer method.
GetModelMetaData method.
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
Implements:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: