ToolStripManager.IsShortcutDefined(Keys) Methode

Definition

Ruft einen Wert ab, der angibt, ob die angegebene Tastenkombination von einem der ToolStrip-Steuerelemente eines Formulars verwendet wird.

public:
 static bool IsShortcutDefined(System::Windows::Forms::Keys shortcut);
public static bool IsShortcutDefined (System.Windows.Forms.Keys shortcut);
static member IsShortcutDefined : System.Windows.Forms.Keys -> bool
Public Shared Function IsShortcutDefined (shortcut As Keys) As Boolean

Parameter

shortcut
Keys

Die zu suchende Tastenkombination.

Gibt zurück

Boolean

true, wenn die Tastenkombination von einem ToolStrip auf dem Formular verwendet wird, andernfalls false.

Gilt für

Siehe auch