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
override AccessKey : string
function get AccessKey () : String

Property Value

Type: System.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