Class DocumentElementCollection<T, TOwner>
Represents base DocumentElementCollection.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Collections
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class DocumentElementCollection<T, TOwner> : DocumentElementCollectionBase<T, TOwner>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : FixedDocumentElementBase where TOwner : IFixedDocumentElement
Type Parameters
T
The type of the T. |
TOwner
The type of the T owner. |
Constructors
DocumentElementCollection(TOwner)
Initializes a new instance of the DocumentElementCollection /> class.
Declaration
public DocumentElementCollection(TOwner parent)
Parameters
TOwner
parent
The parent. |
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. |