TX Text Control .NET for WPF

ListFormat Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the type and the formatting attributes of a bulleted or numbered list. The property value is an object of the type ListFormat. For more information see the description of the ListFormat class.

Syntax

public ListFormat ListFormat { get; set; }

Examples

The following example uses TextControl.ListFormat to configure list format as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.ListFormat = new ListFormat();
if (textControl.ListFormat != null)
{
    Console.WriteLine("Text Control: List Format is available.");
}