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.

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

In this article
Not finding the help you need?