ToolStripManager.IsShortcutDefined Method (Keys)


Retrieves a value indicating whether the specified shortcut key is used by any of the ToolStrip controls of a form.

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

public static bool IsShortcutDefined(
	Keys shortcut


Type: System.Windows.Forms.Keys

The shortcut key for which to search.

Return Value

Type: System.Boolean

true if the shortcut key is used by any ToolStrip on the form; otherwise, false.

.NET Framework
Available since 2.0
Return to top