TX Text Control .NET for WPF

ShowLine 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

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 StatusBar.ShowLine to configure show line as part of the status bar workflow. The configured value is checked before the workflow continues.

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