TX Text Control .NET for Windows Forms

ShowKeyStates Property

Property|Introduced in 14.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.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 StatusBar.ShowKeyStates to configure show key states as part of the status bar workflow. The change is then applied to the active document or user interface.

statusBar.ShowKeyStates = true;
statusBar.Update();