ShowKeyStates Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. ASP. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
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; }Public Property ShowKeyStates As BooleanExamples
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.");
}statusBarViewGenerator.ShowKeyStates = True
If statusBarViewGenerator.ShowKeyStates Then
Console.WriteLine("Status Bar View Generator: Show Key States is enabled.")
End If