How can I prevent tabbing to a UserControl?

前端 未结 6 2229
青春惊慌失措
青春惊慌失措 2020-12-17 16:58

I have a custom Popup that overlays part of my screen. When it is open, I want to disable tabbing into the UserControl behind it. I do not want to use the IsEnabled

6条回答
  •  醉话见心
    2020-12-17 17:54

    You can bind IsTabStop on the child controls to IsTabStop on the UserControl.

    That way, you only have to set it once.

提交回复
热议问题