I've got a WPF program which, so far, can open up multiple XML files at once and load bits of their information (name) into a listBox with a checkBox beside each list item, this is all in a canvas which is designated as the Load XML canvas. Each of these
list items should ideally represent the XML file it's named after. Ideally I want a button which takes all these X number of list items, and loads up X 'data boxes' (which are Grids with text blocks laid out which take strings from different parts of the XML
file), where each Grid item is separate from the other ones, and they're all present on another Canvas (for now called the Tracking canvas). I've got code that loads all the information I want into one prototype Grid I've designed, but that only works for
one XML file, and it works by referencing its file path in a TextBlock. I need, instead, all the information (or at least the 'index' of which XMLs I want to be used) to come from the list box.
For the functionality of the checkBoxes, I'd want the checked items to appear aligned on the left side on the screen, while the unchecked items appear on the right...
So, basically, I need a button which does these things; 1) looks at the ListBox and sees which XML files it needs to use to grab data from, 2) from the ListBox determines how many Grids it'll need to create on the Tracking canv
View Complete Post