CheckBoxTagHelper
Example
Razor
<kendo-checkbox>
</kendo-checkbox>
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
checked | Boolean | The checked state of the CheckBox. |
enabled | Boolean | If set to false, the CheckBox will be disabled and will not allow the user to change its checked state. |
encoded | Boolean | Determines whether the checkbox label content should be rendered as an HTML string or it should be encoded. |
for | ModelExpression | An expression to be evaluated against the current model. |
label | String | Specifies the label content for the checkbox. |
on-change | String | Fires when the checked state of the CheckBox is changed through user interaction. |
rounded | Rounded | Sets a value controlling the border radius. |
script-attributes | IDictionary<String,Object> | |
size | ComponentSize | Sets a value controlling the size of the component. |
value | String | The value attribute of the widget input element. |
is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
as-module | Boolean | |
has-client-component | Boolean | |
sanitize-id | Boolean |