Class IndentatedNode
Pôvodný názov: Aspose.Note Zhromaždenie: Aspose.Note.dll (25.4.0)
Základná trieda pre uzly s relatívnou indentáciou pre detské uzoly.
public class IndentatedNode<T> : CompositeNode<T>, INode, ICompositeNode<T>, ICompositeNode, IEnumerable<T>, IEnumerable, IIndentatedNode where T : INode
{
private readonly List<T> _children;
public IndentatedNode()
{
_children = new List<T>();
}
public void AddChild(T child)
{
_children.Add(child);
}
}
Typ parametrov
T
Typ prvkov v kompozitnom uzle.
Inheritance
object
←
Node
←
CompositeNodeBase
←
CompositeNode
Implements
INode
,
ICompositeNode
Z dedičných členov
CompositeNode
Constructors
Príslušenstvo pre IndentatedNode (Nodetype)
Iniciuje novú inštanciu Aspose.Note.IndentatedNode`1 triedy.
protected IndentatedNode(NodeType nodeType)
{
base.NodeType = nodeType;
}
Parameters
nodeType
NodeType
To je typ uzla.
Properties
IndentPosition
Získať alebo nastaviť indentnú pozíciu.
public byte IndentPosition
{
get;
set;
}