This project is read-only.

ModernTab Links Property Binding

Feb 23, 2014 at 4:36 PM
Hello Everyone.
i was able to create link groups by using this code

public Projects()


  public void LoadProjectNames()

                        var query = from p in MyDS.Projects
                        orderby p.Project_Name
                        select p;
            foreach (var LProject in query)
                ModTab.Links.Add(new Link
                    DisplayName = LProject.Project_Name,
                    Source = new Uri(String.Format("/Content/ProjectsDetails.xaml#{0}", LProject.ProjectID), UriKind.Relative)
But this method is not the the right method for binding , what i need is to use data binding with Links Collection and retrieve project names directly as links(DisplayName Property).

i have looked around alot to sort this out but couldn't do that with the Link Collection Because it's not Dependency Object as i understand.

my question will be is it possible to achive my goal with other way in Binding methods
Like this one
FrameworkElement.SetBinding Method (DependencyProperty, BindingBase)

Thanks in advance @:---
Mar 4, 2015 at 6:25 PM
I'd also love to see a plain and simple example of binding to the LinkGroup/Links DisplayName.