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
Namespace: SdlSdl.DesktopEditorEditorApi
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 |
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()