Switch
Properties
Checked - Nullable
Enabled - Nullable
Readonly - Nullable
Messages - SwitchMessagesSettings
The label for the checked state of the Switch.
Width - Nullable
Size - Nullable
TrackRounded - Nullable
ThumbRounded - Nullable
Events - IDictionary
Id - String
SanitezeId - Boolean
Writer - IJavaScriptWriter
Initializer - IJavaScriptInitializer
IsInClientTemplate - Boolean
IsSelfInitialized - Boolean
HasDeferredInitialization - Boolean
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
HtmlHelper - IHtmlHelper
ModelMetadataProvider - IModelMetadataProvider
Name - String
Explorer - ModelExplorer
Selector - String
IdPrefix - String
ViewContext - ViewContext
ValueProvider - IValueProvider
UrlGenerator - IUrlGenerator
HtmlEncoder - HtmlEncoder
HasClientComponent - Boolean
UseMvvmInitialization - Boolean
Methods
Serialize()
Serialize current instance to Dictionary
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer - System.IO.TextWriter
The System.IO.TextWriter.
Render()
Renders the component.
ToClientTemplate()
ToHtmlString()
VerifySettings()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.