TX Text Control .NET Server

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

Syntax

public string SectionText { get; set; }

Examples

The following example uses StatusBarViewGenerator.SectionText to configure section text as part of the status bar view generator workflow. The configured value is checked before the workflow continues.

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