This is a migrated thread and some comments may be shown as answers.

Grouping slow

1 Answer 148 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
gordon
Top achievements
Rank 1
gordon asked on 15 Feb 2018, 07:07 PM
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.

1 Answer, 1 is accepted

Sort by
0
gordon
Top achievements
Rank 1
answered on 15 Feb 2018, 11:26 PM
Figured it out:  VirtualizingPanel.IsVirtualizingWhenGrouping="True"
Tags
ListBox
Asked by
gordon
Top achievements
Rank 1
Answers by
gordon
Top achievements
Rank 1
Share this question
or