Is there a way I could determine what is the current tab item that the user is selected AND with that tab item I could dynamically load usercontrol/xaml page into the tab item.
Here's the scenario: I have two user controls one is Main page and the next is let's say Sales Page.
By default my first tab already loads the Main page, now when I want to add a new tab, I will have to load the Main page too and by that I would like to navigate to the Sales page on the second tab? I can only do navigate on the first tab but I don't know how to dynamically navigate on the succeeding new tabs? Unless I know how to determine the tab that is selected and manipulate the Content property of tabItem into the user control.
Is there any possible solutions or how is this possible? Help please. Thanks
Here's the scenario: I have two user controls one is Main page and the next is let's say Sales Page.
By default my first tab already loads the Main page, now when I want to add a new tab, I will have to load the Main page too and by that I would like to navigate to the Sales page on the second tab? I can only do navigate on the first tab but I don't know how to dynamically navigate on the succeeding new tabs? Unless I know how to determine the tab that is selected and manipulate the Content property of tabItem into the user control.
Is there any possible solutions or how is this possible? Help please. Thanks