Hi,
I was debugging a co-workers program and ran across this issue in WPF.
It looks like the listBoxName.SelectedItems returns a list of selected items, in the order a user selects the item from the interface. This is a problem because I need to preserve the actual order the items.
Example:
the listbox is in Extended selectmode and my listbox contains something: runfirst, runsecond, runthird
the user is given an option to select what they want to run based from the listbox. They select runthird then runfirst. This causes runthird to appear at the top of the list and then runfirst. I guess i could sort the list before running a foreach but i was wondering if there is an easier way.
Thanks