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
Bob,
Yes, this should work for n number of levels without modifying the XAML. Let me know if you have any other questions.
I'll give it a try. I assume if I add a fourth level of menus it will still display without having to modify the XAML?
Just following up on the sample I sent on Jan 24. Did you have any specific questions about that sample that I can assist with?
Thanks,
I took a slight step back... Attached is a sample demonstrating a basic approach to displaying Hierarchical data in the XamMenu. The data is generated in code. Please review this and let me know if this approach works with your data or if there is a specific problem we can focus on.
I am still working on this, and I will post again when I have more information.