Grouping slow

2 posts, 0 answers
  1. gordon
    gordon avatar
    27 posts
    Member since:
    Oct 2015

    Posted 15 Feb 2018 Link to this post

    I have two views.  One with a RadGridView, the other with a RadListBox.  They both have the same view model, and same ItemsSource.  I followed the ListBox Grouping and Filtering example.  When I have a collection of 2000 items, grouping is noticeably slower in the RadListBox than the RadGridView, i.e. 4 times slower, even when the RadListBox's ItemTemplate contains just a TextBlock.  Any idea why this is, and how to speed up grouping in the RadListBox?  Thanks.
  2. gordon
    gordon avatar
    27 posts
    Member since:
    Oct 2015

    Posted 15 Feb 2018 in reply to gordon Link to this post

    Figured it out:  VirtualizingPanel.IsVirtualizingWhenGrouping="True"
Back to Top