EditCategory
Keyboard Navigation
EditQuestion
Can I change the order in which controls are focused in TabNavigation?
EditAnswer
Yes,
KeyboardNavigation defines an attached property called
KeyboardNavigation.TabIndex.
This property can be modified on any control to alter the logical sequence of the
TabNavigation.
Changing the
TabIndex of a control affects the logical navigation sequence up to any ancestor that defined its
KeyboardNavigation.TabNavigation as
KeyboardNavigationMode.Local (if there is any).
EditKeywords
Tab order, TabOrder