HtmlBuilder for the ToggleButton component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ToggleButtonHtmlBuilder
Inheritance: objectToggleButtonHtmlBuilder
Inherited Members
Constructors
Initializes a new instance of the ToggleButtonHtmlBuilder class.
C#
public ToggleButtonHtmlBuilder(ToggleButton component)
The ToggleButton component.
Methods
Adds attributes for event handlers
C#
protected virtual void AddEventAttributes(IHtmlNode html, IDictionary<string, object> events)
The HtmlElement of the component
eventsIDictionary<string, object>Dictionary<TKey, TValue> of events
Builds the ToggleButton markup.
Create the HTML element for the component