New to Telerik UI for WinFormsStart a free 30-day trial

Collection of flow blocks for building content; provides helpers to create blocks, tables, and list-bulleted blocks.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Editing.Collections

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class BlockCollection : CollectionBase<IBlockElement>, IEnumerable

Inheritance: objectCollectionBase<IBlockElement>BlockCollection

Implements: IEnumerable

Inherited Members CollectionBase<IBlockElement>.Add(IBlockElement)CollectionBase<IBlockElement>.GetEnumerator()CollectionBase<IBlockElement>.CountCollectionBase<IBlockElement>.this[int]

Methods

Creates a block, adds it to the collection, and returns it.

C#
public Block AddBlock()
Returns:

Block

The newly created and added block.

Creates a block configured with the specified list and level, adds it to the collection, and returns it.

C#
public Block AddBlock(List list, int listLevel)
Parameters:listList

The list.

listLevelint

The list level.

Returns:

Block

The block.

Creates a table, adds it to the collection, and returns it.

C#
public Table AddTable()
Returns:

Table

The newly created and added table.