WpfControl.AcceleratorKey Property
Gets the shortcut key 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 AcceleratorKey As String
public virtual string AcceleratorKey { get; }
public:
virtual property String^ AcceleratorKey {
String^ get ();
}
abstract AcceleratorKey : string
override AcceleratorKey : string
function get AcceleratorKey () : String
Property Value
Type: System.String
A string that contains the shortcut key that is assigned to this control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace