New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

HtmlBuilder for the TextBox component

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TextBoxHtmlBuilder<T>

Inheritance: objectTextBoxHtmlBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the TextBoxHtmlBuilder class.

C#
public TextBoxHtmlBuilder(TextBox<T> component)
Parameters:componentTextBox<T>

The TextBox component.

Methods

Adds attributes for event handlers

C#
protected virtual void AddEventAttributes(IHtmlNode html, IDictionary<string, object> events)
Parameters:htmlIHtmlNode

The HtmlElement of the component

eventsIDictionary<string, object>

Dictionary<TKey, TValue> of events

Builds the TextBox markup.

C#
public IHtmlNode Build()
Returns:

IHtmlNode

HtmlElement