How to setup WPF parent/child listboxes?

I don't know that you can do it through ordinary data binding. But it's easy with a little code-behind.

I don't know that you can do it through ordinary data binding. But it's easy with a little code-behind: And then: private void MasterList_SelectionChanged(object sender, SelectionChangedEventArgs e) { ListBox lb = sender as ListBox; XmlElement elm = lb. SelectedItem as XmlElement; string filename = elm.

SelectSingleNode("Filename"). InnerText; XmlDocument d = new XmlDocument(); d. Load(filename); XmlDataProvider p = Resources"Detail" as XmlDataProvider; p.

Document = d; } This works because an XmlDataProvider refreshes whenever you set its Document property. You could also just construct a URI from the filename and set the Source property; that refreshes it too.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions