ToolStripManager::IsValidShortcut Method (Keys)
.NET Framework (current version)
Retrieves a value indicating whether a defined shortcut key is valid.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- shortcut
-
Type:
System.Windows.Forms::Keys
The shortcut key to test for validity.
Valid shortcut keys are the function keys F1 through F12 alone; function keys with CTRL, ALT, or SHIFT modifiers; or other keys with CTRL, ALT, or SHIFT modifiers. CTRL, ALT, or SHIFT keys and keys other than function keys are not valid shortcut keys if used alone.
.NET Framework
Available since 2.0
Available since 2.0
Show: