Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9220783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:25:45+00:00 2026-06-18T03:25:45+00:00

I have a ObservableCollection which is binded as ItemSource to my ComboBox. It’s a

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:25:47+00:00Added an answer on June 18, 2026 at 3:25 am

    scm stands for

    xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
    

    There a solution that works for me. You have to adapt it to your case:

    <Window.Resources>
    <CollectionViewSource x:Key="customerGroups" Source="{Binding Path=Customers}">
            <CollectionViewSource.GroupDescriptions>
                <PropertyGroupDescription PropertyName="IsCompany"></PropertyGroupDescription>
            </CollectionViewSource.GroupDescriptions>
            <CollectionViewSource.SortDescriptions>
                <scm:SortDescription PropertyName="IsCompany" Direction="Descending"/>
                <scm:SortDescription PropertyName="DisplayName" Direction="Ascending"/>
            </CollectionViewSource.SortDescriptions>
        </CollectionViewSource>
    </Window.Resources>
    

    Then you reference this resource as ItemsSource of your ComboBox, and bind the content to the property you need:

     <ComboBox ItemsSource="{Binding Source={StaticResource customerGroups}}">
            <DataTemplate>
                <TextBlock Text="{Binding Path= FirstName}"></TextBlock>
            </DataTemplate>
        </ComboBox>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have ViewModel, Which has a ObservableCollection[Employee] EmpCol , now that ViewModel is bind
I have a ListBox control which is binded to a ObservableCollection . My XAML
I have ListView which ItemSource bindend to ObservableCollection<Period> where Period is public class Period
I have ObservableCollection<IInterface> which is binded to DataGrid. IInterface is interface. I want to
I have a Silverlight Listbox bound to Observablecollection which shows up fine (first time)
I have a class ShipmentsCollection that inherits ObservableCollection which contains shipment objects (entities). This
I have a ObservableCollection which holds records of custom type Item. I use that
I have a data grid that displays a Table which is bound to a
I have an ObservableCollection which is dataContext for my treeview when I try to
in my Silverlight 4 Application I have an ObservableCollection that I data bind to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.