# SegmentedControl

## Example

```
<kendo-segmentedcontrol>
    <items></items>
</kendo-segmentedcontrol>
```

## ChildTags

| Tag Name | Details                                                                                                                                        |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| items    | [SegmentedControlItemsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/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. |
| rounded               | [Rounded](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/rounded)                                     | Sets a value controlling the border radius.                                                                                                                                                                                                           |
| 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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/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.                                                                                                                                                 |
