Class ContentControlCollection
Contains content controls associated with a paragraph.
Implements
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class ContentControlCollection : Collection<ContentControl>, IList<ContentControl>, ICollection<ContentControl>, IList, ICollection, IReadOnlyList<ContentControl>, IReadOnlyCollection<ContentControl>, IEnumerable<ContentControl>, IEnumerable
Methods
AddRange(IEnumerable<ContentControl>)
Adds all controls from the supplied collection.
Declaration
public void AddRange(IEnumerable<ContentControl> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ContentControl> | items | The controls to add. |
InsertItem(int, ContentControl)
Describes the content Control Collection configuration.
Declaration
protected override void InsertItem(int index, ContentControl item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the item. |
| ContentControl | item | The item to use for the operation. |
Overrides
SetItem(int, ContentControl)
Describes the content Control Collection configuration.
Declaration
protected override void SetItem(int index, ContentControl item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the item. |
| ContentControl | item | The item to use for the operation. |