This project is read-only.

mui:ModernTab - define itemssource

Sep 11, 2013 at 11:07 PM

I have a ModernTab and add Links in my code-behind like this:
foreach (Player player in ((PlayerViewModel) DataContext).Players)
  playerNavigation.Links.Add(new Link
    DisplayName = player.Firstname+ " " + player.Name,
    Source = new Uri("/Pages/Team/Player/Details.xaml", UriKind.Relative)
This works like a charm, but I want to avoid code-behind. Is there a way to add an itemssource to the ModernTab in WPF?

Thank you for your help!
Sep 16, 2013 at 4:41 PM
ModernTab has a dependency property called LinksProperty,have you tried to binding it to a Collection?
i think it just like itemsSource!