Search Results for

    Show / Hide Table of Contents

    Class MarkupDataNodeFinder

    Helper class that can be used with Find(Predicate<INode>, Boolean) to locate markup data nodes.

    Inheritance
    System.Object
    MarkupDataNodeFinder
    Inherited Members
    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
    public class MarkupDataNodeFinder

    Constructors

    MarkupDataNodeFinder(IAbstractMarkupData)

    Contruct with a markup data item that is used in IsItem and IsNotItem comparisons.

    Declaration
    public MarkupDataNodeFinder(IAbstractMarkupData item)
    Parameters
    Type Name Description
    IAbstractMarkupData item

    Methods

    IsItem(IAbstractContentNode)

    This method can be used as delegate for Sdl.DesktopEditor.EditorApi.IContainerNode.FindContentNode to locate the first node that corresponds to the specified markup data item.

    Declaration
    public bool IsItem(IAbstractContentNode node)
    Parameters
    Type Name Description
    IAbstractContentNode node
    Returns
    Type Description
    System.Boolean

    IsItem(INode)

    This method can be used as delegate for Sdl.DesktopEditor.EditorApi.IContainerNode.Find to locate the first node that corresponds to the specified markup data item.

    Declaration
    public bool IsItem(INode node)
    Parameters
    Type Name Description
    INode node
    Returns
    Type Description
    System.Boolean

    IsNotItem(IAbstractContentNode)

    This method can be used as delegate for Sdl.DesktopEditor.EditorApi.IContainerNode.Find to locate the first node that does not correspond to the specified markup data item.

    Declaration
    public bool IsNotItem(IAbstractContentNode node)
    Parameters
    Type Name Description
    IAbstractContentNode node
    Returns
    Type Description
    System.Boolean

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • MarkupDataNodeFinder(IAbstractMarkupData)
    • Methods
      • IsItem(IAbstractContentNode)
      • IsItem(INode)
      • IsNotItem(IAbstractContentNode)
    • Extension Methods
    Back to top Generated by DocFX