TX Text Control .NET for WPF

Number Property

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

Description

Gets the section's number. The first section has the number 1.

Syntax

public int Number { get; }

Examples

The following example works with the first section of the current document by using Section.Number.

Section section = textControl.Sections[1];

Console.WriteLine($"Number: {section.Number}");
Console.WriteLine("Section is ready for use.");

Limitations

Read only.