SwitchMessagesSettingsBuilder
Methods
Checked(System.String)
Defines the text for the turned on state
Parameters
message - System.String
The new text for the turned on state.
Example
@(Html.Kendo().Switch()
.Name("switch")
.Messages(m => m.Checked("Yes"))
)
Unchecked(System.String)
Defines the text for the turned off state
Parameters
message - System.String
The new text for the turned off state.
Example
@(Html.Kendo().Switch()
.Name("switch")
.Messages(m => m.Unchecked("No"))
)