Simulates a complete key press (down and up).
public void KeyPress(Interactive target, Key key, int holdTime = 50, KeyModifiers? modifiers = default(KeyModifiers? ))
The target control to receive the event.
The key to press.
Time in milliseconds to hold the key.
Optional key modifiers.