…the collection with items to deselect; This increases the performance significant!
e.g. for a DataGrid with 5.000 rows from > 3s to < 20ms
What changed?
Extension Method SetSelectedItem in ItemsControlExtensions.cs is adapted.
Instead collect items to deselect and iterating over this collection, use UnselectAll() method.
To demonstrate the difference the DataGrid Sample is modified too.
…the collection with items to deselect; This increases the performance significant!
e.g. for a DataGrid with 5.000 rows from > 3s to < 20ms
What changed?
Extension Method SetSelectedItem in ItemsControlExtensions.cs is adapted. Instead collect items to deselect and iterating over this collection, use UnselectAll() method.
To demonstrate the difference the DataGrid Sample is modified too.
An issue wasn't open yet.