New to Telerik Document ProcessingStart a free 30-day trial

Manages block-level elements (paragraphs and tables) within sections or table cells, providing strongly-typed add methods for content construction.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Collections

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public sealed class BlockCollection : DocumentElementCollection<BlockBase, BlockContainerBase>, IList<BlockBase>, ICollection<BlockBase>, IEnumerable<BlockBase>, IEnumerable

Inheritance: objectDocumentElementCollectionBase<BlockBase, BlockContainerBase>DocumentElementCollection<BlockBase, BlockContainerBase>BlockCollection

Implements: ICollection<BlockBase>IEnumerableIEnumerable<BlockBase>IList<BlockBase>

Inherited Members DocumentElementCollectionBase<BlockBase, BlockContainerBase>.GetEnumerator()DocumentElementCollectionBase<BlockBase, BlockContainerBase>.IndexOf(BlockBase)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.Insert(int, BlockBase)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.InsertRange(int, IEnumerable<BlockBase>)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.RemoveAt(int)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.RemoveRange(int, int)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.Clear()DocumentElementCollectionBase<BlockBase, BlockContainerBase>.Contains(BlockBase)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.CopyTo(BlockBase[], int)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.Remove(BlockBase)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.Add(BlockBase)DocumentElementCollectionBase<BlockBase, BlockContainerBase>.CountDocumentElementCollectionBase<BlockBase, BlockContainerBase>.this[int]...

Methods

Creates and appends a new Paragraph to the collection and returns it for content and formatting configuration.

C#
public Paragraph AddParagraph()
Returns:

Paragraph

The added paragraph.

Creates and appends a new Table to the collection and returns it for row, cell, and formatting configuration.

C#
public Table AddTable()
Returns:

Table

The added table.

In this article
DefinitionMethodsAddParagraph()AddTable()
Not finding the help you need?
Contact Support