Search Results:

Tuesday, July 5, 2016

Difference between a KeyPress and KeyDown Events

The KeyDown event triggers for all the keys where as KeyPress only works for the character keys.

For example:

If you press Key A, then it will fire KeyDown as well as KeyPress event.

If you press Shift,Ctrl, Escape or BackSpace keys then only KeyDown is the only


Refer:MSDN Link

No comments:

Post a Comment