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

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class TextNode : IHtmlNode

Inheritance: objectTextNode

Implements: IHtmlNode

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

Constructors

C#
public TextNode(string value)
Parameters:valuestring

Properties

C#
public IList<IHtmlNode> Children { get; }

Implements: IHtmlNode.Children

C#
public string InnerHtml { get; set; }

Implements: IHtmlNode.InnerHtml

RenderMode

TagRenderMode

C#
public TagRenderMode RenderMode { get; }

Implements: IHtmlNode.RenderMode

C#
public string TagName { get; }

Implements: IHtmlNode.TagName

Methods

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

IHtmlNode

Implements: IHtmlNode.AddClass(params string[])

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

IHtmlNode

Implements: IHtmlNode.AppendTo(IHtmlNode)

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

IHtmlNode

Implements: IHtmlNode.Attribute(string, string, bool)

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

IHtmlNode

Implements: IHtmlNode.Attribute(string, string)

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

string

Implements: IHtmlNode.Attribute(string)

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

IDictionary<string, string>

Implements: IHtmlNode.Attributes()

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

IHtmlNode

Implements: IHtmlNode.Attributes(object)

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

IHtmlNode

Implements: IHtmlNode.Attributes<TKey, TValue>(IDictionary<TKey, TValue>, bool)

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

IHtmlNode

Implements: IHtmlNode.Attributes<TKey, TValue>(IDictionary<TKey, TValue>)

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

IHtmlNode

Implements: IHtmlNode.Css(string, string)

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

IHtmlNode

Implements: IHtmlNode.Html(string)

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

IHtmlNode

Implements: IHtmlNode.PrependClass(params string[])

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

IHtmlNode

Implements: IHtmlNode.RemoveAttribute(string)

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

IHtmlNode

Implements: IHtmlNode.RemoveClass(string)

C#
public Action<TextWriter> Template()
Returns:

Action<TextWriter>

Implements: IHtmlNode.Template()

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

IHtmlNode

Implements: IHtmlNode.Template(Action<TextWriter>)

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

IHtmlNode

Implements: IHtmlNode.Text(string)

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

IHtmlNode

Implements: IHtmlNode.ToggleAttribute(string, string, bool)

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

IHtmlNode

Implements: IHtmlNode.ToggleClass(string, bool)

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

IHtmlNode

Implements: IHtmlNode.ToggleCss(string, string, bool)

C#
public override string ToString()
Returns:

string

Overrides: object.ToString()

C#
public void WriteTo(TextWriter output)
Parameters:outputTextWriter

Implements: IHtmlNode.WriteTo(TextWriter)