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

IHtmlNode

Interface

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public interface IHtmlNode

Derived Classes: HtmlElementHtmlFragmentLiteralNodeTextNode

Properties

C#
IList<IHtmlNode> Children { get; }
C#
string InnerHtml { get; }

RenderMode

TagRenderMode

C#
TagRenderMode RenderMode { get; }
C#
string TagName { get; }

Methods

C#
IHtmlNode AddClass(params string[] classes)
Parameters:classesstring[]Returns:

IHtmlNode

C#
IHtmlNode AppendTo(IHtmlNode parent)
Parameters:parentIHtmlNodeReturns:

IHtmlNode

C#
IHtmlNode Attribute(string key, string value, bool replaceExisting)
Parameters:keystringvaluestringreplaceExistingboolReturns:

IHtmlNode

C#
IHtmlNode Attribute(string key, string value)
Parameters:keystringvaluestringReturns:

IHtmlNode

C#
string Attribute(string key)
Parameters:keystringReturns:

string

C#
IDictionary<string, string> Attributes()
Returns:

IDictionary<string, string>

C#
IHtmlNode Attributes(object attributes)
Parameters:attributesobjectReturns:

IHtmlNode

C#
IHtmlNode Attributes<TKey, TValue>(IDictionary<TKey, TValue> attributes, bool replaceExisting)
Parameters:attributesIDictionary<TKey, TValue>replaceExistingboolReturns:

IHtmlNode

C#
IHtmlNode Attributes<TKey, TValue>(IDictionary<TKey, TValue> attributes)
Parameters:attributesIDictionary<TKey, TValue>Returns:

IHtmlNode

C#
IHtmlNode Css(string key, string value)
Parameters:keystringvaluestringReturns:

IHtmlNode

C#
IHtmlNode Html(string value)
Parameters:valuestringReturns:

IHtmlNode

C#
IHtmlNode PrependClass(params string[] classes)
Parameters:classesstring[]Returns:

IHtmlNode

C#
IHtmlNode RemoveAttribute(string key)
Parameters:keystringReturns:

IHtmlNode

C#
IHtmlNode RemoveClass(string @class)
Parameters:classstringReturns:

IHtmlNode

C#
Action<TextWriter> Template()
Returns:

Action<TextWriter>

C#
IHtmlNode Template(Action<TextWriter> value)
Parameters:valueAction<TextWriter>Returns:

IHtmlNode

C#
IHtmlNode Text(string value)
Parameters:valuestringReturns:

IHtmlNode

C#
IHtmlNode ToggleAttribute(string key, string value, bool condition)
Parameters:keystringvaluestringconditionboolReturns:

IHtmlNode

C#
IHtmlNode ToggleClass(string @class, bool condition)
Parameters:classstringconditionboolReturns:

IHtmlNode

C#
IHtmlNode ToggleCss(string key, string value, bool condition)
Parameters:keystringvaluestringconditionboolReturns:

IHtmlNode

C#
void WriteTo(TextWriter output)
Parameters:outputTextWriter