Let me start by saying that I am completely new with WPF (this is my first project and I have been working in it for less than a week). With that said, please be calm!
I have three ListBoxes lists that are tied to ObservableCollectionfrom LINQ queries. In the beginning, everything is fine, all three are filled correctly. My client must drag the selection from one ListBoxto another. I also have this job, but when I do a drag and drop, a new selection is placed at the bottom ListBoxinstead of sorting alphabetically with existing elements.
How can I sort ListBoxat runtime through code after the drag and drop operation is complete.
Thanks!
source
share