SectionCounterText 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 'Section counter' area of the status bar.
Syntax
public string SectionCounterText { get; set; }Public Property SectionCounterText As StringExamples
The following example uses StatusBarViewGenerator.SectionCounterText to configure section counter text as part of the status bar view generator workflow. The configured value is checked before the workflow continues.
statusBarViewGenerator.SectionCounterText = "Quarterly results";
if (!string.IsNullOrWhiteSpace(statusBarViewGenerator.SectionCounterText))
{
Console.WriteLine($"Section Counter Text: {statusBarViewGenerator.SectionCounterText}");
}statusBarViewGenerator.SectionCounterText = "Quarterly results"
If Not String.IsNullOrWhiteSpace(statusBarViewGenerator.SectionCounterText) Then
Console.WriteLine($"Section Counter Text: {statusBarViewGenerator.SectionCounterText}")
End If