This documentation is archived and is not being maintained.

WinButton.Shortcut Property

Gets the shortcut for this button.

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

public virtual string Shortcut { get; }

Property Value

Type: System.String
A string that contains the shortcut for this button.

Show: