KeyBinding in UserControl doesn't work when TextBox has the focus

前端 未结 5 469
野的像风
野的像风 2020-11-27 17:28

The following situation. I\'ve got a UserControl with five keybindings. When the TextBox has the focus the keybindings of the UserControl stop firing..

Is there a wa

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-27 17:37

    
        
    
    

    keyPressPlaceHoler is the name of container of your target uielement

    remember to set the Focusable="True" in usercontrol

提交回复
热议问题