TX Text Control .NET for WPF

SectionCounterText 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 'Section counter' area of the status bar.

Syntax

public string SectionCounterText { get; set; }

Examples

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

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