I have a ObservableCollection which is binded as ItemSource to my ComboBox. It's a ComboBox which shows you your changes which you've done. My Problem is now, that the newest Change is displayed on the bottom of the list.
I tried to reverse it in the property, but when I return ComboboxName.Reverse()
I get an IEnumerable back. I also don't want to make a 2nd collection with the reversed data.
An other way would be to solve this in XAML. Does someone have an idea how I can do that?
I found this answer here, but i dont get it how i can implement it. Reverse order of ObservableCollection
scm stands for
There a solution that works for me. You have to adapt it to your case:
Then you reference this resource as ItemsSource of your ComboBox, and bind the content to the property you need: