Simulate user key press specific to this element.
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
public void KeyPress( Keys key, int holdFor, int delayBetweenRepetitions, int repeatCount )
Parameters
- key
- Type: System.Windows.FormsKeys
The key code for the key to press. - holdFor
- Type: SystemInt32
How long to hold the key down, in milliseconds. - delayBetweenRepetitions
- Type: SystemInt32
The time in milliseconds to wait between key presses. - repeatCount
- Type: SystemInt32
The count of actions to repeat.
See Also