Search Results for

    Show / Hide Table of Contents

    Class NodeIterator

    Iterates over all nodes in the range.

    Inheritance
    System.Object
    ContentNodeIterator
    NodeIterator
    Inherited Members
    ContentNodeIterator._Container
    ContentNodeIterator._CurrentNode
    ContentNodeIterator._EndNode
    ContentNodeIterator.Next()
    ContentNodeIterator.Previous()
    ContentNodeIterator.GetNextContentNode(IAbstractNode)
    ContentNodeIterator.Container
    ContentNodeIterator.CurrentNode
    ContentNodeIterator.EndNode
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.DesktopEditor.EditorApi
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    [CLSCompliant(false)]
    public class NodeIterator : ContentNodeIterator

    Constructors

    NodeIterator(IAbstractContainerNode)

    Limit iteration to the specified container, start at the first node in the container.

    Declaration
    public NodeIterator(IAbstractContainerNode container)
    Parameters
    Type Name Description
    IAbstractContainerNode container

    The bounding container

    NodeIterator(IAbstractContainerNode, IAbstractNode)

    Limit iteration to the specified container, start at a specified node (which should be in the container, but can be a sub-node).

    Declaration
    public NodeIterator(IAbstractContainerNode container, IAbstractNode from)
    Parameters
    Type Name Description
    IAbstractContainerNode container

    The bounding container

    IAbstractNode from

    The first node to start from. This is typically a node somewhere inside the container.

    NodeIterator(IAbstractNode)

    Start at the specified node. Iterate until the end of all available content, including parent nodes.

    Declaration
    public NodeIterator(IAbstractNode from)
    Parameters
    Type Name Description
    IAbstractNode from

    the position to start from, may or may not be a content node

    NodeIterator(IAbstractNode, IAbstractContentNode)

    Limit iteration to a specific end node. The iteration will stop at the upto node, which will not be returned as a content node.

    Declaration
    public NodeIterator(IAbstractNode from, IAbstractContentNode upto)
    Parameters
    Type Name Description
    IAbstractNode from

    The first node to start from. May or may not be a container.

    IAbstractContentNode upto

    The node at which to stop. Will not be part of the content iterated over, and must be after the from node to be effective.

    Properties

    CurrentAbstractNode

    The current node we are iterating over

    Declaration
    protected override IAbstractNode CurrentAbstractNode { get; }
    Property Value
    Type Description
    IAbstractNode
    Overrides
    ContentNodeIterator.CurrentAbstractNode

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • NodeIterator(IAbstractContainerNode)
      • NodeIterator(IAbstractContainerNode, IAbstractNode)
      • NodeIterator(IAbstractNode)
      • NodeIterator(IAbstractNode, IAbstractContentNode)
    • Properties
      • CurrentAbstractNode
    • Extension Methods
    Back to top Generated by DocFX