PageCounterText Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. ASP. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Gets or sets the text in the 'Page counter' area of the status bar.
Syntax
public string PageCounterText { get; set; }Public Property PageCounterText As StringExamples
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}");
}statusBarViewGenerator.PageCounterText = "Quarterly results"
If Not String.IsNullOrWhiteSpace(statusBarViewGenerator.PageCounterText) Then
Console.WriteLine($"Page Counter Text: {statusBarViewGenerator.PageCounterText}")
End If