ListFormat Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property ListFormat As ListFormatExamples
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();textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim paragraph As Paragraph = textControl.Paragraphs(1)
paragraph.ListFormat = New ListFormat()
paragraph.Select()