ComponentOne RichTextBox for UWP
EnumerateSubtree Method

C1.Xaml.RichTextBox.Documents Namespace > C1TextElement Class : EnumerateSubtree Method
Enumerates all elements in the sub tree where this element is root.
Syntax
'Declaration
 
<System.Runtime.CompilerServices.IteratorStateMachineAttribute(C1.Xaml.RichTextBox.Documents.C1TextElement/d__204)> 
Public Function EnumerateSubtree() As System.Collections.Generic.IEnumerable(Of C1TextElement)
[System.Runtime.CompilerServices.IteratorStateMachine(C1.Xaml.RichTextBox.Documents.C1TextElement/d__204)] 
public System.Collections.Generic.IEnumerable<C1TextElement> EnumerateSubtree()

Return Value

The enumeration of all elements in the sub tree.
Remarks
The elements are enumerated in depth-first order.
See Also

Reference

C1TextElement Class
C1TextElement Members