This project is read-only.

How to set focus to any Tab from File Tab?

Aug 12, 2010 at 5:13 AM
I have implemented backstage items to populate the recent project list. As soon as I select anything from the recent list, it should redirect me or change the focus to the desired tab. How to achieve this? I was trying with this. Give Name to the tab say Name="homeTab" and then on code-behind , in the selectionchanged event handler I am writng; homeTab.Focus(). I even tried with homeTab.Visibility = Visibility.Visible but did not see anything happening. It just loved to stick with File Tab. Any help in this regard, probably a code snippet will help me like anything.
Aug 12, 2010 at 5:40 AM

homeTab.IsSelected = true;

Aug 12, 2010 at 5:47 AM
Thanks for the quick response! My job is done.