ToggleButton

Example

<kendo-togglebutton>
</kendo-togglebutton>

Attributes

Attribute Type Description
name String Sets the name of the component.
as-module Boolean
enable Boolean Sets whether the component should be enabled or disabled.
fill-mode FillMode Sets a value controlling how the color is applied.
group String Specifies a group of ToggleButtons the current instance belongs to. The string will be rendered as a value of the data-group attribute of the widget's element.
has-client-component Boolean
icon String Sets the icon of the component.
icon-class String Sets the icon class of the component.
image-url String Sets the image url for the and img element inside the component.
on-click String Fires when the ToggleButton selected state is clicked.
on-toggle String Fires when the ToggleButton selected state is toggled.
rounded Rounded Sets a value controlling the border radius.
sanitize-id Boolean
selected Boolean Specifies the selected state of the ToggleButtons. If set to true the widget will be initially selected.
deferred Boolean Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
script-attributes IDictionary<String,Object>
size ComponentSize Sets the size of the component.
sprite-css-class String Sets the CSS class, which will be used for applying a background image to a span element inside the component.
theme-color ThemeColor Sets the color of the component according to the applied theme.
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.
tag String
In this article
Not finding the help you need?