Steven Kirk
3c59935a44
Added missing [Fact] attribute.
10 years ago
Steven Kirk
7b23b6eab5
Moved test to correct file.
10 years ago
donandren
1ed45e8d43
added failing unit test related to #651 for RemoveRange from items
10 years ago
donandren
cd3d002cc9
added failing unit test for #651
10 years ago
Steven Kirk
209713e820
Moved tests to correct place.
@donandren correctly identified a problem with the `ItemsPresenter` but
he put the tests in the `ListBox` tests. Moved them to the correct
place. Also tweak formatting in `ItemContainerGenerator.InsertSpace`.
10 years ago
Steven Kirk
1c88b3bd85
Fix scrolling to item when size == 0,0
When virtualized presenter size == 0,0 no containers will be
materialized so no container will be found.
Fixes #591 .
10 years ago
Steven Kirk
dd728dae5b
Fix measuring to infinity when scrolled to end.
When a virtualized list was scrolled to the bottom and then the list was
measured with a size larger than needed to fit all items (in this case
we use infinity) then the virtualizer tries to go backwards to add items
at the top of the currently visible items by setting `step = -1`;
however it didn't check whether the current index was < 0.
Fixes #589 .
10 years ago
Steven Kirk
5a72ed8586
Don't add virt items when attached to visual tree.
Don't add virtualized items before the virtualizing panel is attached to
the visual tree, as bindings etc won't be set and so measurement will
produce 0,0 causing all items to be materialized.
10 years ago
Steven Kirk
dc8d05d0c3
Handle partial last items when items added.
Fixes #565 .
10 years ago
Steven Kirk
04c48bbd54
Make adding items work.
When virtualizing panel is not yet full.
10 years ago
Steven Kirk
7010272985
Reset first/next indexes on items nulled.
Fixes #563 .
10 years ago
Steven Kirk
63c2cd41fd
Add containers on Items reset.
If new items have been added on Reset and the panel was not previously
full, then create containers for the new items. Fixes #561 .
10 years ago
Steven Kirk
95eefa3cf1
Implement AutoScrollToSelectedItem
For virtualizing lists.
10 years ago
Steven Kirk
d7a757385a
Fix failing tests.
10 years ago
Steven Kirk
d0942f84a9
FocusNavigationDirection => NavigationDirection
And added page up/down.
10 years ago
Steven Kirk
e8dd81fa20
Support horiz keyboard movement.
10 years ago
Steven Kirk
cba5200645
Fix keyboard nav with partially visible items.
10 years ago
Steven Kirk
81b66596c0
Use a full item's offset for overflow.
10 years ago
Steven Kirk
71b3343097
Allow virtualized list to take up available space.
10 years ago
Steven Kirk
6e73244a1e
Handle move and replace in virtualized lists.
10 years ago
Steven Kirk
7ca7f53537
More work on items removed.
10 years ago
Steven Kirk
72ea9f02c7
More work on virtualization with INCC.
Got removes working a bit better.
10 years ago
Dan Walmsley
1417aab362
added some more test cases for simple virtualization.
10 years ago
danwalmsley
e2fe94cafb
Added test for removing last item in the list, when scrolled to end.
10 years ago
Steven Kirk
3e8a8c6d7c
WIP: INCC virtualization support.
10 years ago
Steven Kirk
722a329106
Add containers at beginning when scrolled to end.
10 years ago
Steven Kirk
6df5ff4917
Split virtualization tests in two
One for base virtualization tests and one for simple mode tests.
10 years ago