Class
BlockCollection

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:

cs-api-definition
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

AddBlock()

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

Declaration

cs-api-definition
public Block AddBlock()

Returns

Block

The newly created and added block.

AddBlock(List, int)

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

Declaration

cs-api-definition
public Block AddBlock(List list, int listLevel)

Parameters

list

List

The list.

listLevel

int

The list level.

Returns

Block

The block.

AddTable()

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

Declaration

cs-api-definition
public Table AddTable()

Returns

Table

The newly created and added table.