I'm working on some software to document the version changes for our custom programs here. It has a very simple model so it seamed ideal to learn Caliburn.Micro on. I am not 100% comfortable with WPF quite yet, so I may be missing some obvious things.
Programs have many Versions which have many changes. I've got the ProgramViewModel set up as a Conductor.Collection.OneActive, which provides a list of current and previous Versions for the user to select from. When a version is selected, I bring up a VersionViewModel
which contains a list of Changes to be viewed and edited.
The problem I'm having is with the VersionView. I've got the Changes bound to an ItemsControl, but I can not figure out how to bind the controls in the ItemsControl's Data Template to the properties of the Change without directly specifying a binding. In
other words, I can't just say <Textbox x:Name="Description" /> to get at the description property of the child Change object.
What am I doing wrong? What is the best practice for this?