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
property because I do not want to gray out all the controls.
Is there another property that does the same thing? IsTabStop
only prevents the tab from stopping on the UserControl itself, not it's children, and IsFocusable
isn't a valid property for a UserControl.
Focusable
is a property onUserControl
inherited fromUIElement
. SettingFocusable="False"
andIsHitTestVisible="False"
should solve your problem – PuringtonKeyboardNavigation.TabNavigation="None"
on your UserControl help? Have a look here – ResponsoryKeyBoardNavigation.TabNavigation
inside my UserControl, so the trigger was having no effect. If you post it as an answer I'll accept it. – DorcasdorceaIsTabStop
seems to not work on user controls that haveItemsSource
assigned. See this – Bowknot