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

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:

C#
public class TextBulletNumberingFormat : IBulletNumberingFormat

Inheritance: objectTextBulletNumberingFormat

Implements: IBulletNumberingFormat

Constructors

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

C#
public TextBulletNumberingFormat(Func<IListLevelsIndexer, string> getTextBullet)
Parameters:getTextBulletFunc<IListLevelsIndexer, string>

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

Methods

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

C#
public PositionContentElement GetBulletNumberingElement(IListLevelsIndexer listLevelsIndexer)
Parameters:listLevelsIndexerIListLevelsIndexer

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)