Button
Properties
Template - HtmlTemplate
Enable - Boolean
Icon - String
ImageUrl - String
SpriteCssClass - String
Tag - String
Badge - ButtonBadgeSettings
Defines the alignment of the badge
Size - Nullable
Rounded - Nullable
FillMode - Nullable
ThemeColor - Nullable
Initializer - IJavaScriptInitializer
Events - IDictionary
Name - String
Id - String
ShouldSanitezeId - Boolean
ModelMetadata - ModelMetadata
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
ViewContext - ViewContext
ViewData - ViewDataDictionary
IsSelfInitialized - Boolean
IsInClientTemplate - Boolean
HasDeferredInitialization - Boolean
Selector - String
HasClientComponent - Boolean
Methods
WriteInitializationScript(System.IO.TextWriter)
Parameters
writer - System.IO.TextWriter
Serialize()
Render()
Renders the component.
VerifySettings()
ToHtmlString()
GetHtml(System.Boolean)
Parameters
includeScript - System.Boolean
GetInitializator()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.