简体   繁体   中英

Key Down Event not firing in C# a geckofx 22

For some reason the Key down event is not firing in geckofx 22. The user must hold down the enter key and then release before the program will initial the keydown event on the input they are on. This has been and issue with binding as well as just plain HTML objects like text areas.

You need to use PreviewKeyDown instead of KeyDown

Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM