We have a WPF .NET 4.0 C# based application. We built our user interface from XML definitions (not XAML) but underneath we use a WPF to present the UI. That is at runtime, w
You should try setting a KeyboardNavigation.TabNavigation attached property on either your Tree control, or the StackPanel derived control, in case you want your bottom buttons to also participate in a tab cycle:
...
You can even combine a code-behind approach that you, I assume, is currently trying to use to control the tab behaviour inside the Tree control, with the KeyboardNavigation.TabNavigation to take care of the tabbing outside the tree control.