New to Telerik UI for ASP.NET Core? Download free 30-day trial

ToggleButton

Properties

Html - String

Tag - String

Content - Func

ContentAction - Action

Group - String

Selected - Nullable

Icon - String

IconClass - String

ImageUrl - String

SpriteCssClass - String

Enable - Nullable

Badge - ToggleButtonBadgeSettings

Sets the size of the badge widget that will be displayed in the component.

Size - Nullable

Rounded - Nullable

FillMode - Nullable

ThemeColor - 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

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer - System.IO.TextWriter

The System.IO.TextWriter.

Serialize()

Serialize current instance to Dictionary

Render()

Renders the component.

ToClientTemplate()

ToHtmlString()

VerifySettings()

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

ProcessSettings()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

WriteDeferredScriptInitialization()

In this article
Not finding the help you need?