Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
XamMenu data binding examples...
posted

I am using XamMenu for our primary application menu. Rather than hard code or add all the menus on the fly I want to use data binding. Our application menus are currently defined in XML. I can use linq to put them in an object graph if needed. 

Reading the docs it talks about creating a hierarchal template but seems to say you need to create one for each menu level you need. Our menu structure is 100% defined in the XML. 

First, is it possible to bind to XML or will I need to bind to an object graph.

Are there any examples of fully data driven XamMenus with random level depths. 

BOb

 

 

 

 

 

Parents
  • 485
    posted

    Can anyone help me binding the XamMenu to an ObservableCollection in a ViewModel. I'm not quite sure how to set up the HierarchyTemplate object. I am just getting empty menus but I know the observable collection is getting populated.

    BOb

     

Reply Children