Wiesław Šoltés
9cdcf6cb02
Revert "Updated projects and packages"
This reverts commit 7cca79b435 .
10 years ago
Nikita Tsukanov
8ee9d17ff6
Fixed some focus issues
10 years ago
Steven Kirk
41ba3b7782
Started adding TextBox error adornments.
10 years ago
Steven Kirk
a222fa9b0c
Don't modify text due to binding when typing.
If a TextBox is e.g. bound to an int and the user types "02" then the
TextBox text should be "02" - not the value that comes back from the
binding which will be "2".
10 years ago
Steven Kirk
941246e75c
Started to implement data validation on TextBox.
Not working still - added a failing test to demonstrate it.
10 years ago
Wiesław Šoltés
7cca79b435
Updated projects and packages
10 years ago
Steven Kirk
5a9371f786
Pass EnableDataValidation to ExpressionObserver.
10 years ago
Steven Kirk
4906a472b0
Reimplemented data validation using BindingNotifications.
10 years ago
yusuf-gunaydin
f86d90613b
Implemented Ctrl+Backspace and Ctrl+Delete for TextBox.
Fixes #609
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
donandren
af8fbba51b
added failing unit test for ItemsPresenter
10 years ago
donandren
a3552bc20a
added another failing unit test for Listbox items not in sync with the bound collection
10 years ago
donandren
f764d46674
added failing unit test for issue #637 : ListBox not in sync with items after inserted/removed from items
10 years ago
Wiesław Šoltés
7282744b70
Removed outdated binding redirects and app.config
10 years ago
Steven Kirk
0bf9404e00
Deafult ItemsPresenter virtualization to None
And override it in ListBox. This prevents ItemsPresenter thinking it's virtualized in a TreeView. Fixes #610 .
10 years ago
Steven Kirk
b74c0d316b
Fix off-by-one error in ItemContainerGenerator
Fixes #604 .
10 years ago
Steven Kirk
6eaa5b74dc
Test has been refactored into 2 tests.
Removed test that has been refactored into 2 separate tests. Thanks
@donandren for finding those bugs!
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
3ee83263c8
Make indexer produce/consume IBinding.
10 years ago
donandren
cfd6524031
added failing unit test for issue #589 and #591
10 years ago
Jeremy Koritzinsky
3c5848bc2c
Updated Rx to 3.0 and fixed a failing test from a not fully set up mock.
10 years ago
Steven Kirk
72cb1cf311
Don't reapply templates unnecessarily.
When detaching and re-attaching to the same logical tree.
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
donandren
e8be30ac47
Added few more failing tests for ContentPresenter for LogicalChildren outside template
10 years ago
donandren
fd787ae405
added failing test for ContentPresenter when Content is changed and child is not detached from logical tree
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
259144838c
Set item container properties with Style priority.
So that they can be overridden by styles.
10 years ago
Steven Kirk
7b3e25949e
Revert "Revert "Set ContentPresenter.DataContext in UpdateChild.""
This reverts commit bf02ae41a9 .
10 years ago
Steven Kirk
bf02ae41a9
Revert "Set ContentPresenter.DataContext in UpdateChild."
This reverts commit f3c7ea27a1 .
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
13642613cf
Added failing test.
10 years ago
Steven Kirk
4c000b9ce4
Fixed ScrollContentPresenter.
Did not react correctly to child changing.
10 years ago
Steven Kirk
5467841e3e
Fixed unit test name.
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
7e4f667d89
Fix PixelOverflow during arrange.
10 years ago
Steven Kirk
ae2ea31c6e
Allow changing virtualization mode in test app.
Not yet working correctly.
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
7a718ef9c2
Updated overflow algorithm.
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