TX Text Control .NET Server

PageCounterText Property

Property|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.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 StatusBarViewGenerator.PageCounterText to configure page counter text as part of the status bar view generator workflow. The configured value is checked before the workflow continues.

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