TX Text Control .NET for WPF

PageCounterText 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 text in the 'Page counter' area of the status bar.

Syntax

public string PageCounterText { get; set; }

Examples

The following example uses StatusBar.PageCounterText to configure page counter text as part of the status bar workflow. The configured value is checked before the workflow continues.

statusBar.PageCounterText = "Quarterly results";
if (!string.IsNullOrWhiteSpace(statusBar.PageCounterText))
{
    Console.WriteLine($"Page Counter Text: {statusBar.PageCounterText}");
}