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

HtmlElement

Properties

RenderMode - TagRenderMode

Children - IList

InnerHtml - IHtmlContentBuilder

TagName - String

Methods

AddClass(System.String[])

Parameters

classes - System.String[]

RemoveClass(System.String)

Parameters

class - System.String

AppendTo(Kendo.Mvc.UI.IHtmlNode)

Parameters

parent - IHtmlNode

Attribute(System.String)

Parameters

key - System.String

Attribute(System.String,System.String)

Parameters

key - System.String
value - System.String

Attribute(System.String,System.String,System.Boolean)

Parameters

key - System.String
value - System.String
replaceExisting - System.Boolean

Attributes()

Attributes(System.Object)

Parameters

attributes - System.Object

Attributes(System.Collections.Generic.IDictionary)

Parameters

attributes - System.Collections.Generic.IDictionary<TKey,TValue>

Attributes(System.Collections.Generic.IDictionary,System.Boolean)

Parameters

attributes - System.Collections.Generic.IDictionary<TKey,TValue>
replaceExisting - System.Boolean

Html(System.String)

Parameters

value - System.String

PrependClass(System.String[])

Parameters

classes - System.String[]

RemoveAttribute(System.String)

Parameters

key - System.String

Template()

Template(System.Action)

Parameters

value - System.Action<TextWriter>

Text(System.String)

Parameters

value - System.String

ToggleAttribute(System.String,System.String,System.Boolean)

Parameters

key - System.String
value - System.String
condition - System.Boolean

ToggleClass(System.String,System.Boolean)

Parameters

class - System.String
condition - System.Boolean

Css(System.String,System.String)

Parameters

key - System.String
value - System.String

ToggleCss(System.String,System.String,System.Boolean)

Parameters

key - System.String
value - System.String
condition - System.Boolean

WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

Parameters

output - System.IO.TextWriter
encoder - System.Text.Encodings.Web.HtmlEncoder

ToTagBuilder()

In this article
Not finding the help you need?