Alex Rivera | Logout

What's the difference between KeyDown and KeyPress in .NET?

Asked 2009-09-02T13:30:55.550
215

What is the difference between the KeyDown and KeyPress events in .NET?

Edit
Report

1 Answer

3

Keydown is pressing the key without releasing it, Keypress is a complete press-and-release cycle.

Put another way, KeyDown + KeyUp = Keypress

answered 2009-09-02T13:33:14.677

Your Answer