TX Text Control .NET for WPF

Sections 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 a collection of all sections in the document. The property's value is an object of the type SectionCollection.

Syntax

public SectionCollection Sections { get; }

Examples

The following example iterates through the sections collection and processes each section.

foreach (Section section in textControl.Sections)
{
    Console.WriteLine(section.Number);
}

Limitations

Runtime only.

Read only.