TX Text Control .NET Server

ListFormat Property

Property|Introduced in 15.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets or sets the paragraph's bulleted or numbered list and/or its formatting attributes. The property's value is an object of the type ListFormat.

Syntax

public ListFormat ListFormat { get; set; }

Examples

The following example examines the first paragraph in a short document by using Paragraph.ListFormat.

textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Paragraph paragraph = textControl.Paragraphs[1];

paragraph.ListFormat = new ListFormat();
paragraph.Select();