Data Binding using Caliburn Micro

Mar 26, 2013 at 11:34 PM

I'm new to WPF and MVVM.

Any idea how to bind a ViewModel property of type FirstFloor.ModernUI.Presentation.LinkCollection with a ModernWindow.MenuLinkGroups.LinkGroup.Links element?

I'm tring to accomplish that using Caliburn Micro, or something similar.
WHY: I need to change a source of link in the collection based on a value loaded from the config file.

Thank you in advance for your help
Mar 27, 2013 at 12:02 AM
You can define your own LinkGroupCollection property in your ViewModel and bind it to the ModernWindow.MenuLinkGroups property. This way you have complete control over the groups and links in your view model.