Class DocumentElementCollection<T, TOwner>
Defines a collection of document elements.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Collections
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class DocumentElementCollection<T, TOwner> : DocumentElementCollectionBase<T, TOwner>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : DocumentElementBase where TOwner : DocumentElementBase
Type Parameters
T
The type of the document elements in the collection. |
TOwner
The type of the owner. |
Methods
SetParent(T, TOwner)
Sets the parent of the document element.
Declaration
protected override void SetParent(T item, TOwner parent)
Parameters
T
item
The document element. |
TOwner
parent
The parent which should be set to the document element. |
Overrides
VerifyDocumentElementOnInsert(T)
Verifies the validity of the document element before it is inserted in the collection.
Declaration
protected override void VerifyDocumentElementOnInsert(T item)
Parameters
T
item
The item. |