Search Results for

    Show / Hide Table of Contents

    Interface IChangeableNode

    A node in a document fragment, which can be freely moved around and changed directly using the API (as opposed to nodes that appear inside a document).

    Inherited Members
    ITreeNode<IChangeableNode, IChangeableContainerNode>.Parent
    ITreeNode<IChangeableNode, IChangeableContainerNode>.NextSibling
    ITreeNode<IChangeableNode, IChangeableContainerNode>.PreviousSibling
    ITreeNode<IChangeableNode, IChangeableContainerNode>.Root
    Namespace: Sdl.DesktopEditor.EditorApi
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    public interface IChangeableNode : ITreeNode<IChangeableNode, IChangeableContainerNode>

    Methods

    MoveTo(IChangeableContainerNode, IChangeableNode)

    Move the node from its current parent container to a different one.

    Declaration
    void MoveTo(IChangeableContainerNode newContainer, IChangeableNode insertBefore)
    Parameters
    Type Name Description
    IChangeableContainerNode newContainer

    The container to move this node into.

    IChangeableNode insertBefore

    A node in the new container that this node should be inserted before. If null the node is inserted last in the container.

    Remarks

    Removes the node from its current container (if any) and inserts it before the specified item in the new container.

    RemoveFromParent()

    Remove this node from the parent collection (if any).

    Declaration
    void RemoveFromParent()

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Methods
      • MoveTo(IChangeableContainerNode, IChangeableNode)
      • RemoveFromParent()
    • Extension Methods
    Back to top Generated by DocFX