DocumentElementBase
Base class for all elements in a flow document, providing parent-child navigation and hierarchical traversal.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public abstract class DocumentElementBase
Inheritance: objectDocumentElementBase
Derived Classes:
Properties
Gets the root document that owns this element.
public virtual RadFlowDocument Document { get; }
The document.
Gets the immediate parent element in the document hierarchy.
public DocumentElementBase Parent { get; }
The parent.
Methods
Recursively enumerates all descendant elements of the specified type in the document tree.
public IEnumerable<T> EnumerateChildrenOfType<T>() where T : DocumentElementBase
IEnumerable<T>
Called when a child element is added to this container, allowing derived classes to respond to hierarchy changes.
protected virtual void OnChildAdded(DocumentElementBase child)
The child element.
Called when a child element is removed from this container, allowing derived classes to respond to hierarchy changes.
protected virtual void OnChildRemoved(DocumentElementBase child)
The child element.