SegmentedControlTagHelper
Example
Razor
<kendo-segmentedcontrol>
<items></items>
</kendo-segmentedcontrol>
ChildTags
| Tag Name | Details |
|---|---|
| items | SegmentedControlItemsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | Sets the name of the component. |
| enabled | Boolean | Configures whether the SegmentedControl will be enabled or disabled. |
| layout-mode | SegmentedButtonLayoutMode | Sets a value that will shape the layout mode of the SegmentedControl. |
| on-change | String | The 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-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
| selected-value | String | The selected value of the component. Must match the value of one of the items. |
| size | ComponentSize | Sets the size of the component. |
| 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 | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |