ShowKeyStates Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. 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 StatusBar.ShowKeyStates to configure show key states as part of the status bar workflow. The configured value is checked before the workflow continues.
statusBar.ShowKeyStates = true;
if (statusBar.ShowKeyStates)
{
Console.WriteLine("Status Bar: Show Key States is enabled.");
}statusBar.ShowKeyStates = True
If statusBar.ShowKeyStates Then
Console.WriteLine("Status Bar: Show Key States is enabled.")
End If