TX Text Control .NET Server

ShowKeyStates 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 key state of the CAPSLOCK and the NUMLOCK key and the current insertion mode, insert or overwrite.

Syntax

public bool ShowKeyStates { get; set; }

Examples

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

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