Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the key that was pressed.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
public Keys Key { get; set; }
public:
property Keys Key {
Keys get();
void set(Keys value);
}
member Key : Keys with get, set
Public Property Key As Keys
Property Value
Type: System.Windows.Forms.Keys
The key that was pressed.
Remarks
Setting this property raises the PropertyChanged event.
See Also
Keys
PropertyChanged
KeyboardAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top