Master-detail UI

Jul 18, 2010 at 6:02 PM
I'm trying to create a master-detail style UI. My view model has a bindable list of items and a SelectedItem property. My view will have a listbox that shows a text property from each item, and another control shows the details of the selected item. However, I can't work out how to bind the control that shows the selected item details. Are there any samples that demonstrate the basics of this? Thanks :)
Jul 18, 2010 at 10:53 PM
Actually, I think I've figured it out now. Using a <ContentControl x:Name="SelectedItem"/> works.