New to Telerik UI for Blazor? Download Free 30-day trial
Switch - Labels
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Nope
By design, the Switch does not render any labels when the component is styled with the Bootstrap or Material theme.
To change the default setup and achieve any of the additional predefined layouts, refer to
this
knowledge base for showing the labels in Bootstrap and Material or the article on changing the Switch layout
in the kendo-themes Wiki.
- Labels.razor
Loading the demo source code...please wait.
Description
The Telerik Blazor Switch allsows you to set your own text in the switch labels that correspond to the on and off states.
This Blazor Switch Labels example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.