System.Windows.Forms.ToolStripMenuItem.ShortcutKeys Property

Gets or sets the shortcut keys associated with the System.Windows.Forms.ToolStripMenuItem.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.Keys.None)]
[System.ComponentModel.Localizable(true)]
public Keys ShortcutKeys { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ToolStripMenuItem.ShortcutKeys property to assign a key combination to a menu command, such as CTRL+C for the Copy command. You can use shortcut keys instead of or in addition to access keys, which are underscored letters in menus or menu items used with the ALT key. Define access keys in code by typing an ampersand (&) before the letter you want to use for an access key.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0