IsTabStop=“False” has no effect on my WPF app

后端 未结 2 777
半阙折子戏
半阙折子戏 2021-01-18 02:13

I\'m having a really hard time with something that should be trivial. I just want to remove a few buttons from the tab order on a UserControl. I\'ve tried adding IsTab

相关标签:
2条回答
  • 2021-01-18 02:49

    Try setting KeyboardNavigation.TabNavigation ="None" in the parent control.

    0 讨论(0)
  • 2021-01-18 02:51

    You need also employ KeyboardNavigation.TabNavigation ="Continue" for the parent controls, and

    "Focusable=False" 
    
    0 讨论(0)
提交回复
热议问题