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