ModernTab: show content defined in the same UserControl
Hi, I'm using the ModernTab, where i defined two link, for example "Link 1" and "Link 2".
As source, I not want use the external page, but I want define the content of Link 1 and Link 2 in the same UserControl where I defined a section for link 1 and a section for link 2.
It's possibile? How?
Thanks.
Hi, yes it's possible. Just add the "source" in the definition of your links.
<mui:ModernTab >
<mui:ModernTab.Links>
<mui:Link DisplayName="Link1" Source="Page1.xaml"/>
<mui:Link DisplayName="Link2" Source="Page2.xaml"/>
</mui:ModernTab.Links>
</mui:ModernTab>
Hi, I have used the links in the same way, the problem is page doesn't refresh when it is clicked each time. Can u please help me how to reload the page each time when it is selected?
It uses the same reference of the user control if they have the same control links the modern tab, is there a way to make each link refer to a stand alone object for the same link but different fragments?
I'm looking for the same feature. I think there should be something like "TabItemChanged" or "TabItemClicked" instead of SelectedSourceChanged.
I found this which solved my problem: https://mui.codeplex.com/discussions/560428