Kendo.Mvc.UI.Switch
Kendo UI Switch component
Properties
Checked
The checked state of the Switch.
Enabled
If set to false, the Switch will be disabled and will not allow the user to change its checked state.
Readonly
If set to true, the Switch will render into its read-only state.
Messages
Defines the text of the checked and unchecked labels that are displayed within the Switch. All labels support localization.
Width
The width of the Switch.
Size
Sets the size of the component.
TrackRounded
Sets a value controlling the track's border radius.
ThumbRounded
Sets a value controlling the thumb's border radius.
Methods
WriteHtml(System.IO.TextWriter)
Writes the HTML.
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer System.IO.TextWriter
The TextWriter.
SerializeSettings
Serialize current instance to Dictionary