anagram4wander / VirtualizingObservableCollection

.NET PCL With Virtualizing Observable Collection
http://alphachitech.wordpress.com/2015/01/31/virtualizing-observable-collection/
56 stars 28 forks source link

Loading all items when row details are expanded in datagrid wpf. #23

Open IG0111 opened 6 years ago

IG0111 commented 6 years ago

When I select a row in the datagrid, details are displayed. This causes all pages to load.

public Task<PagedSourceItemsPacket<T>> GetItemsAtAsync(int pageoffset, int count, bool usePlaceholder)

This method is called until all pages are loaded.

Do you know how to solve it without disabling row details on selection?

I am using .net 4.5. Control have this properties set:

CanContentScroll = true
VirtualizingPanel.ScrollUnit="Pixel"

If i leave scroll unit to "Item" than everything works fine.