New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public abstract class DocumentElementBase

Inheritance: objectDocumentElementBase

Derived Classes: BlockBaseBlockContainerBaseInlineBaseRadFlowDocumentTableRow

Methods

Recursively enumerates all descendant elements of the specified type in the document tree.

C#
public IEnumerable<T> EnumerateChildrenOfType<T>() where T : DocumentElementBase
Returns:

IEnumerable<T>

Called when a child element is added to this container, allowing derived classes to respond to hierarchy changes.

C#
protected virtual void OnChildAdded(DocumentElementBase child)
Parameters:childDocumentElementBase

The child element.

Called when a child element is removed from this container, allowing derived classes to respond to hierarchy changes.

C#
protected virtual void OnChildRemoved(DocumentElementBase child)
Parameters:childDocumentElementBase

The child element.

Properties

Gets the root document that owns this element.

C#
public virtual RadFlowDocument Document { get; }
Property Value:

The document.

Gets the immediate parent element in the document hierarchy.

C#
public DocumentElementBase Parent { get; }
Property Value:

The parent.