Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有几个绑定到关键手势的命令。执行命令时,焦点会转到某处,因此必须按下 Tab 键才能将其返回到窗口。
更奇怪的是,LostFocus 并没有在命令执行之前的控件上触发。
我坚持下去。我怎样才能防止这种奇怪的行为?