UI performance

1 posts, 0 answers
  1. Magnus
    Magnus avatar
    24 posts
    Member since:
    Dec 2011

    Posted 24 Oct Link to this post

    Not sure if this belong here or in the RadListBox-forum. But anyway...

    I've got a RadListBox bound to an ObservableCollection with 2000 items. The items are displayed using a DataTemplate with an Image and a TextBlock. I've also implemented filtering of the items using a regular TextBox together with an IsVisible-property on the items. When entering text in the TextBox I hide all the items not matching the searchstring. Filtering works great, but I've noticed severe performance hits when running this on laptops with touch-screens (Windows 10). It works reasonably well when hiding items, but when clearing my filter (i.e. setting a lot of items to be visible again) it's really slow. I have set the TouchManager.IsTouchEnabled to false, and the AutomationManager.AutomationMode is disabled. It doesn't matter if i turn on or off the VirtualizingPanel.IsVirtualizing on the RadListBox. The only thing that I've found to work is by opening the device manager and disable the touchscreen-HID device, so I'm fairly certain that the performance hit is due to the touch-functionality.
Back to Top