Table of Contents

Method SendKeys

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

SendKeys(char, ConsoleKey, bool, bool, bool)

Simulates a key press.

void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool ctrl)

Parameters

keyChar char

The key character.

key ConsoleKey

The key.

shift bool

If true simulates the Shift key being pressed.

alt bool

If true simulates the Alt key being pressed.

ctrl bool

If true simulates the Ctrl key being pressed.