CheckBoxGroupTagHelper

Example

Razor
<kendo-checkboxgroup>
    <kendo-checkboxgroup-items></kendo-checkboxgroup-items>
</kendo-checkboxgroup>

ChildTags

Tag NameDetails
kendo-checkboxgroup-itemsCheckBoxGroupItemsTagHelper

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
bind-toIList<IInputGroupItem>Defines an array of configuration objects to be rendered as checkboxes.
forModelExpressionAn expression to be evaluated against the current model.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
enabledBooleanSets the enabled state of all checkboxes in the CheckBoxGroup.
has-client-componentBoolean
input-nameStringThe name attribute to be used for the checkbox inputs. If omitted, the id of the wrapper element will be used.
input-roundedRoundedSets a value controlling the border radius of the input.
input-sizeComponentSizeSets a value controlling the size of the input.
label-positionCheckBoxGroupLabelPositionSpecifies the label position according to its input for all items in the widget. Accepts "before" and "after".
layoutCheckBoxGroupLayoutSpecifies whether the checkbox inputs will be rendered one below the other ("vertical") or on the same line ("horizontal").
on-changeStringFires when checking or unchecking a checkbox in the widget through user interaction.
on-focusStringFires when a checkbox in the CheckBoxGroup is focused through user interaction.
on-selectStringFires when a checkbox input is clicked to be selected through user interaction. If prevented, the clicked input will not be checked/unchecked.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
valueIEnumerable<String>The selected (checked) checkbox values. Will also be used as a CheckBoxGroup widget value.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support