Control.ShowKeyboardCues Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected internal virtual bool ShowKeyboardCues { get; }

Property Value

Type: System.Boolean

true if the keyboard accelerators are visible; otherwise, false.

In controls created in the Windows Forms designer, keyboard accelerators are visible by default.

For more information about this feature, see theWM_CHANGEUISTATE,WM_QUERYUISTATE, and the WM_UPDATEUISTATEtopics.

.NET Framework
Available since 1.1
Return to top