Method KeyDown KeyDown(Key) Simulates pressing down a keyboard key. Declaration void KeyDown(Key key) Parameters Type Name Description Key key The key to simulate.