Dan Walmsley
4762b8ec33
fix whitespace.
7 years ago
Dan Walmsley
79ecf98a46
add null check to itemvirtualizer simple
7 years ago
Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Steven Kirk
dd9839461a
Quick fix for scroll to end with virtualized items.
As described in #2144 , scrolling to the end of a list of virtualized items with differing heights doesn't always work correctly. This is a quick hack to try to fix that.
7 years ago
Andrey Kunchev
2c8efb9364
fix scroll to last in another scenario when listbox is in more dynamic measure ex: in grid with multiple star rows
8 years ago
Andrey Kunchev
f090bd0dfb
remove not needed condition in virtualizer scroll
8 years ago
Andrey Kunchev
ea27484103
fix #2106 scroll to last in listbox not working sometimes
8 years ago
Andrey Kunchev
5c74c49a0a
pr notes
8 years ago
Andrey Kunchev
092a7c965a
fix for ListBox OutOfRangeException issue #1395
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
8 years ago
Nikita Tsukanov
eb6bfd3de8
Moved layout manager from service locator to ILayoutRoot
9 years ago
Steven Kirk
f678683472
Handle inserts before currently visible item.
If a virtualized list was scrolled and an item added before the first
visible item, then the list wasn't updated.
9 years ago
Nikita Tsukanov
657c53fb73
Make it clear that MaxClientSize is used when available
9 years ago
Nikita Tsukanov
f21212e76a
Refactored out WindowBase from TopLevel
9 years ago
Steven Kirk
612839c13a
Fix virtualized list keyboard scrolling.
When cross-axis scrollbar is visible.
10 years ago
Steven Kirk
7067fa0146
Cross-axis scrolling for virtualized lists.
There are still a few bugs around scrollbar behavior, and maybe Grid. To
see them, add a long item in the middle of VirtualizationTest's items,
resize the window to require a scrollbar and scroll up and down.
10 years ago
Steven Kirk
1b32a6aac3
Fixed unused member warnings.
That only show up on mono: seems the standard C# compiler silently
ignores most of these.
10 years ago
Steven Kirk
55d76d6cb9
Make sure panel is remeasured after add/remove.
After items are added or removed then the virtualizing panel must be
remeasured. It's usually not remeasured if the available size is the
same as on the last measure as that causes an infinite loop; this adds a
`ForceInvalidateMeasure` to `IVirtualizingPanel` which will force a
remeasure even if the available size hasn't changed. Also adds tests for
the behavior.
10 years ago
donandren
ba8829399d
fixed problem when Removing range items from virtualized ItemsPresenter related to #651
10 years ago
donandren
1aaea1dd2a
fixes #651
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
22b495b1ac
Fix directional nav for non-virtualized lists.
Except Page Up/Down - these will need some extra code.
10 years ago
Steven Kirk
86dfadf514
Implement Home and End navigation.
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
ad9abd53c1
Fixed scrolling differently sized items.
10 years ago
Steven Kirk
0d32bc420c
Allow changing orientation in virt sample.
10 years ago
Steven Kirk
6d5b3e02c4
Added page up/down support to virt lists.
10 years ago
Steven Kirk
d0942f84a9
FocusNavigationDirection => NavigationDirection
And added page up/down.
10 years ago
Steven Kirk
37390e8b33
Don't create items immediately...
...in virtualized ItemsPresenters.
10 years ago
Steven Kirk
32760bbc08
Fix changing virtualization mode in theory.
That is; tests pass. In practise in the virtualization test app it still
doesn't quite work.
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
acdf599dec
Initial impl. of scrolling with arrow keys.
- Currently only vertical implemented
- Doesn't handle partially visible items at end of list
10 years ago
Steven Kirk
f660da41c7
Fix virtualized list to taking up available space.
Previous commit was slightly wrong: too many controls were being created
for the list in VirtualizingTest.
10 years ago
Steven Kirk
2cca250916
Move items in panel Children collection
Instead of removing and re-adding them as this causes a removal and
re-addition to the logical tree, with all the overhead that involves.
10 years ago
Steven Kirk
20847b1960
Added documentation for item virtualizers.
10 years ago
Steven Kirk
6e73244a1e
Handle move and replace in virtualized lists.
10 years ago
Steven Kirk
f9e730e705
Tweaked comments.
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
ac8185b8c3
added implementation for removing first and last elements.
10 years ago