Share via


WinMenuItem.AcceleratorKey Property

Gets the keyboard shortcut for this menu item.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property AcceleratorKey As String
public virtual string AcceleratorKey { get; }
public:
virtual property String^ AcceleratorKey {
    String^ get ();
}
abstract AcceleratorKey : string with get 
override AcceleratorKey : string with get
function get AcceleratorKey () : String

Property Value

Type: String
The keyboard shortcut for this menu item.

.NET Framework Security

See Also

Reference

WinMenuItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace