[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.Documents.C1HtmlElement

C1HtmlElement Class

Represents an Html element.

Inheritance
C1HtmlElement
Namespace: C1.WPF.RichTextBox.Documents
Assembly: C1.WPF.RichTextBox.dll
Syntax
public class C1HtmlElement : C1HtmlNode

Constructors

Name Description
C1HtmlElement(string)

Create a new instance of C1HtmlElement.

C1HtmlElement(string, IEnumerable<KeyValuePair<string, string>>)

Creates a new instance of C1HtmlElement.

Properties

Name Description
Attributes

Gets the attributes of this C1HtmlElement/

Children

Gets the children of this C1HtmlElement.

Document

Gets the document that this C1HtmlElement belongs to.

Name

Gets or sets the tag name of this C1HtmlElement.

Methods

Name Description
Add(C1HtmlNode)

Adds a child to this C1HtmlElement.

AddBefore(C1HtmlNode, C1HtmlNode)

Adds a child to this C1HtmlElement before an exisiting child.

AddRange(IEnumerable<C1HtmlNode>)

Adds multiple children to this C1HtmlElement.

Remove(C1HtmlNode)

Removes a child of this C1HtmlElement.

ToString()