简体   繁体   English

Key Down事件未在C#中触发geckofx 22

[英]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. 由于某些原因,在geckofx 22中不会触发Key down事件。用户必须按住Enter键,然后释放,程序才能在其打开的输入上初始化keydown事件。 This has been and issue with binding as well as just plain HTML objects like text areas. 绑定以及纯HTML对象(如文本区域)一直存在问题。

You need to use PreviewKeyDown instead of KeyDown 您需要使用PreviewKeyDown而不是KeyDown

Cheers! 干杯!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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