RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1Document Class / Group Method
A C1TextElement used to group the children.
The index of the first child added to the range.
The number of children in the range.

In This Topic
    Group Method (C1Document)
    In This Topic
    Groups some of this C1TextElement children, all children in the specified range are added to the new parent, and the parent is inserted at the range start.
    Syntax
    'Declaration
     
    
    Public Sub Group( _
       ByVal parent As C1TextElement, _
       ByVal start As Integer, _
       ByVal count As Integer _
    ) 
    public void Group( 
       C1TextElement parent,
       int start,
       int count
    )

    Parameters

    parent
    A C1TextElement used to group the children.
    start
    The index of the first child added to the range.
    count
    The number of children in the range.
    See Also