Table of Contents
WebView.SendKeyEvent Method (Boolean, KeyCode)

Simulates a key down or key up event.

Syntax
 public void SendKeyEvent(
   bool keyDown,
   KeyCode keyCode
);

Parameters

keyDown
true to simulate a key down event, false to simulate a key up event.
keyCode
The key to simulate.
Remarks

This method calls SendKeyEvent with modifiers set to None.

See Also