I have a RadTabControl with multiple RadTabItems. these items are coded on my xaml as each items have different source/layout. I can't use ItemsSource.
Now I want to bind the selected TabItem on a property in my ViewModel. I want to use the SelectedItem but I don't know how I can relate this to the each TabItems.
Sample: Please not that each RadTabItem are coded on my xaml and not via template.
<telerik:RadTabControl x:Name="_TestControl" SelectedItem ="{Bind}">
<telerik:RadTabItem Header="ITEM 1">
</telerik:RadTabItem>
<telerik:RadTabItem Header="ITEM 2">
</telerik:RadTabItem>
</telerik:RadTabControl>