简体   繁体   中英

WinForm Hosted ComboBox Leave Event does not fire within WPF

I added the the Both from Code behind with cb.Leave += new EventHandler(cb_Leave); or design by Leave="cb_Leave" but none of them worked. is it a bug or what?

Examined LostFocus event instead and this one also has malfunction and does not fire correctly every time.

I also added KeyPress event to my hosted control but it is working correctly.

使用LostFocus事件为其父WindowsFormsHost满足了我的愿望。

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