RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1HtmlElement Class / AddBefore Method
An existing child of this C1HtmlElement.
The child to add to this C1HtmlElement.

In This Topic
    AddBefore Method (C1HtmlElement)
    In This Topic
    Adds a child to this C1HtmlElement before an exisiting child.
    Syntax
    'Declaration
     
    
    Public Sub AddBefore( _
       ByVal reference As C1HtmlNode, _
       ByVal child As C1HtmlNode _
    ) 
    public void AddBefore( 
       C1HtmlNode reference,
       C1HtmlNode child
    )

    Parameters

    reference
    An existing child of this C1HtmlElement.
    child
    The child to add to this C1HtmlElement.
    See Also