Class AbstractListAdvCollection
Represents a collection of AbstractListAdv objects.
Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
Syntax
public class AbstractListAdvCollection : BaseNodeCollectionConstructors
AbstractListAdvCollection(BaseNode)
Initializes a new instance of the AbstractListAdvCollection class for the specified BaseNode.
Declaration
public AbstractListAdvCollection(BaseNode owner)Parameters
| Type | Name | Description | 
|---|---|---|
| BaseNode | owner | The owner of the AbstractListAdvCollection. The value can be null or an instance of DocumentAdv. | 
AbstractListAdvCollection(BaseNode, IEnumerable<AbstractListAdv>)
Initializes a new instance of the AbstractListAdvCollection class that contains abstract lists
copied from the specified collection for the specified BaseNode.
Declaration
public AbstractListAdvCollection(BaseNode owner, IEnumerable<AbstractListAdv> collection)Parameters
| Type | Name | Description | 
|---|---|---|
| BaseNode | owner | The owner of the AbstractListAdvCollection. The value can be null or an instance of DocumentAdv. | 
| System.Collections.Generic.IEnumerable<AbstractListAdv> | collection | The collection from which the abstract lists are copied. | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | The collection parameter cannot be null. | 
Properties
Item[Int32]
Gets the AbstractListAdv instance at the specified index in the AbstractListAdvCollection.
Declaration
public AbstractListAdv this[int index] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | The zero-based index of the AbstractListAdv instance to get. | 
Property Value
| Type | Description | 
|---|---|
| AbstractListAdv | The AbstractListAdv instance at the specified  | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentOutOfRangeException | Index was out of range. Must be non-negative and less than the size of the collection. | 
Methods
Add(BaseNode)
Adds the specified AbstractListAdv to the end of the AbstractListAdvCollection.
Declaration
public void Add(BaseNode abstractListAdv)Parameters
| Type | Name | Description | 
|---|---|---|
| BaseNode | abstractListAdv | The AbstractListAdv instance to be added to the end of the AbstractListAdvCollection. | 
Insert(Int32, BaseNode)
Inserts the specified AbstractListAdv into the AbstractListAdvCollection at the specified index.
Declaration
public void Insert(int index, BaseNode abstractListAdv)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | The zero-based index at which the AbstractListAdv should be inserted. | 
| BaseNode | abstractListAdv | The AbstractListAdv instance to insert. | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentOutOfRangeException | Index was out of range. Must be non-negative and less than the size of the collection. | 
Remove(BaseNode)
Removes the first occurrence of the specified AbstractListAdv from the AbstractListAdvCollection.
Declaration
public bool Remove(BaseNode abstractListAdv)Parameters
| Type | Name | Description | 
|---|---|---|
| BaseNode | abstractListAdv | The AbstractListAdv instance to remove from the AbstractListAdvCollection. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True, if the specified AbstractListAdv is successfully removed. Otherwise, false. This method also returns false if specified AbstractListAdv was not found in the original AbstractListAdvCollection. | 
RemoveAt(Int32)
Removes the AbstractListAdv instance at the specified index of the AbstractListAdvCollection.
Declaration
public void RemoveAt(int index)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | The zero-based index of the AbstractListAdv to remove. | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentOutOfRangeException | Index is less than zero.-or-Index is equal to or greater than item count. |