SegmentedControl

Example

Razor
<kendo-segmentedcontrol>
    <items></items>
</kendo-segmentedcontrol>

ChildTags

Tag NameDetails
itemsSegmentedControlItemsTagHelper

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
enabledBooleanConfigures whether the SegmentedControl will be enabled or disabled.
layout-modeSegmentedButtonLayoutModeSets a value that will shape the layout mode of the SegmentedControl.
on-changeStringThe name of the JavaScript function that will handle the change event. Fires when the user changes a button selection in the SegmentedControl.The event handler function context (available via the this keyword) will be set to the widget instance.
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
selected-valueStringThe selected value of the component. Must match the value of one of the items.
sizeComponentSizeSets the size of the component.
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.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support