Class
TextBulletNumberingFormat

Bullet/number format that produces plain text based on current list level indices.

Definition

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

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class TextBulletNumberingFormat : IBulletNumberingFormat

Inheritance: objectTextBulletNumberingFormat

Implements: IBulletNumberingFormat

Constructors

TextBulletNumberingFormat(Func<IListLevelsIndexer, string>)

Initialize a text-based numbering format with a delegate that creates the textual bullet.

Declaration

cs-api-definition
public TextBulletNumberingFormat(Func<IListLevelsIndexer, string> getTextBullet)

Parameters

getTextBullet

Func<IListLevelsIndexer, string>

The function that generates the text representation of the bullet based on the list levels indexer.

Methods

GetBulletNumberingElement(IListLevelsIndexer)

Create the bullet/number text and return it as a content element for placement.

Declaration

cs-api-definition
public PositionContentElement GetBulletNumberingElement(IListLevelsIndexer listLevelsIndexer)

Parameters

listLevelsIndexer

IListLevelsIndexer

The list levels indexer that provides current index information for each list level.

Returns

PositionContentElement

The position content element representing the bullet numbering, or null if no text is generated.

Implements IBulletNumberingFormat.GetBulletNumberingElement(IListLevelsIndexer)