Share via


WpfControl.AccessKey Property

Gets the keyboard shortcut that is assigned to this control.

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

Syntax

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

Property Value

Type: String
A string that contains the keyboard shortcut that is assigned to this control.

.NET Framework Security

See Also

Reference

WpfControl Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace