Class NodeCollection
An abstract class that provides a base for the collection of Node objects.
Inheritance
System.Object
NodeCollection
Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
Syntax
public abstract class NodeCollection : ObservableCollection<Node>
Constructors
NodeCollection(Node)
Initializes a new instance of the NodeCollection class for the specified Node.
Declaration
public NodeCollection(Node owner)
Parameters
Type | Name | Description |
---|---|---|
Node | owner | The owner of the NodeCollection. The value can be null. |
NodeCollection(Node, IEnumerable<Node>)
Initializes a new instance of the NodeCollection class that contains nodes
copied from the specified collection
for the specified Node.
Declaration
public NodeCollection(Node owner, IEnumerable<Node> collection)
Parameters
Type | Name | Description |
---|---|---|
Node | owner | The owner of the NodeCollection. The value can be null. |
System.Collections.Generic.IEnumerable<Node> | collection | The collection from which the nodes are copied. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The collection parameter cannot be null. |