<pre><code>Control.TabIndex
</code></pre>

<p>Only allows me to overide the Tab order of controls in a given container. </p>

<p>Is there a way to specify this across all the controls in, for example a UserControl, regardless of the contains used to arrange the controls.</p>

<p>Cheers,</p>

<p>Jan</p>

I'm not sure that there is a particularly good way of doing what you are asking, but check out
Changing WPF focus in code
.
That uses
```
KeyboardNavigation.TabNavigation
```
to set how the various containers take and give up the Focus on tabbing, and also sets the
```
TabIndex
```
properties for each control. Look at the example code with the
```
TabNavigation
```
set to "Continue".
If your tabbing problems are simple, you should be able to find a solution here, if they are complex of need to be generalised, then it might take some more work.