Gets or sets a value indicating the shortcut key associated with the command.
Visual Basic (Declaration) | |
---|---|
Public Property Shortcut As Shortcut |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Shortcut Shortcut {get; set;} |
Return Value
A Shortcut value. The default is Shortcut.None.One of the Shortcut values. The default is Shortcut.None.
Shortcut keys let users activate frequently used command items via the keyboard.
Shortcut keys provide a method for users to activate frequently used command items in to provide keyboard access to your application for those users who do not have access to a mouse or other pointer device.
Shortcut keys provide a method for users to activate frequently used command items in to provide keyboard access to your application for those users who do not have access to a mouse or other pointer device.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family