TX Text Control .NET Server

ShowLine 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

Specifies whether the status bar shows the line number of the current text input position.

Syntax

public bool ShowLine { get; set; }

Examples

The following example uses StatusBarViewGenerator.ShowLine to configure show line as part of the status bar view generator workflow. The configured value is checked before the workflow continues.

statusBarViewGenerator.ShowLine = true;
if (statusBarViewGenerator.ShowLine)
{
    Console.WriteLine("Status Bar View Generator: Show Line is enabled.");
}