Interface ITagPairContainerNode
A tag pair in the editor.
Inherited Members
Namespace: SdlSdl.DesktopEditorEditorApi
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public interface ITagPairContainerNode : IAbstractContainerNode, INode, IAbstractNode, ITreeNode<IAbstractNode, IAbstractContainerNode>, IEnumerable<IAbstractNode>, IEnumerable, IMarkupDataNode
Remarks
All nodes inside this container appears between the start and the end tags in the tag pair.
Properties
TagPair
Read-only access to the filter framework object.
Declaration
ITagPair TagPair { get; }
Property Value
Type | Description |
---|---|
ITagPair |
Remarks
To change tag pair properties, move the selection to select the entire tag pair (i.e. everything from the start to the end node) and call CopySelection() to copy them into a document fragment. Change the document fragment object and call ReplaceSelection(IDocumentFragment) to let the changed copy replace the existing tag pair node.