本文介绍了在fpf中,gotfocus和gotkeyboardfocus有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道 GotFocus和GotKeyboardFocus之间的区别  wpf? 





我的尝试:



我试图通过设置属性来打开和关闭Popup:IsDropDownOpen就像ComboBox一样通过GotFocus和LostFocus事件。

解决方案



I want to know that what is the difference between GotFocus and GotKeyboardFocus in wpf?



What I have tried:

I am trying to open and close a Popup by setting a property: IsDropDownOpen just like a ComboBox through the GotFocus and LostFocus events.

解决方案



这篇关于在fpf中,gotfocus和gotkeyboardfocus有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 05:56