WPF TabIndex direction change within controls

  • Thread starter Thread starter Ben
  • Start date Start date
B

Ben

I want to change the tabindex within a user control without having to
set all of the other user controls contained in the xaml main file.
Currently, the other user controls tabindex navigate how the controls
are laid out... left to right. For one user control, I would like the
tabindex to navigate top to bottom. Does anyone know if this is
possible? Currently the user controls contain textboxes, combobox,
and other common wpf controls. I appreciate the help.
 
I want to change the tabindex within a user control without having to
set all of the other user controls contained in the xaml main file.
Currently, the other user controls tabindex navigate how the controls
are laid out... left to right. For one user control, I would like the
tabindex to navigate top to bottom.  Does anyone know if this is
possible?  Currently the user controls contain textboxes, combobox,
and other common wpf controls. I appreciate the help.

I found that you can set the KeyboardNavigation.TabNavigation="Local"
on the WPF control and the tabindex behavior will be local to that
control only.
 
Back
Top