TX Text Control .NET for WPF

ShowSectionCounter 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

Specifies whether the status bar shows the number of sections the document consists of.

Syntax

public bool ShowSectionCounter { get; set; }

Examples

The following example uses StatusBar.ShowSectionCounter to configure show section counter as part of the status bar workflow. The configured value is checked before the workflow continues.

statusBar.ShowSectionCounter = true;
if (statusBar.ShowSectionCounter)
{
    Console.WriteLine("Status Bar: Show Section Counter is enabled.");
}