Enables an easy standard method to itereate over the elements of a tree-like structure of objects.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public class TreeEnumerator : IEnumerator |
Visual Basic Copy Code |
---|
Public Class TreeEnumerator |
The TreeEnumerator class implements the standard .NET IEnumerator interface. It provides an easy method to iterate over the elements of a tree-like structure of diagram items.
The following example demonstrates how to use the TreeEnumerator:
C# Copy Code |
---|
TreeEnumerator te = new TreeEnumerator( while (te.MoveNext()) |
Visual Basic Copy Code |
---|
Dim te As MindFusion.Diagramming.TreeEnumerator = New MindFusion.Diagramming.TreeEnumerator( _ While te.MoveNext() |
System.Object
MindFusion.Diagramming.Wpf.TreeEnumerator
WpfDiagram Programmer's Guide | © 2024 MindFusion |