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
Steven Kirk
7f09154020
Correctly handle partially obscured items.
And move logical for selecting horizontal/vertical components of
extent/offset/viewport into `ItemVirtualizer` base class.
10 years ago
Steven Kirk
749c32ace6
Added failing partial item tests.
10 years ago
Steven Kirk
2d4151ddfe
Update containers when Items changes.
10 years ago
Steven Kirk
55f05defd1
Make scrolling up >= 1 page work
10 years ago
Steven Kirk
2c8d8179e5
Fix virtualized item selection.
So that recycled items' selection state is set correctly.
10 years ago
Steven Kirk
2d5a41a729
Update ListBoxTests
Now ListBox is virtualized it needs more setup for unit testing.
10 years ago
Steven Kirk
cfdfa9400e
Simplify ListBox unit test template creation.
10 years ago
Steven Kirk
b44589e0cb
Renamed IScrollable -> ILogicalScrollable
We're going to need IScrollable as an interface to ScrollViewer-type
controls.
10 years ago
Steven Kirk
03c138ff90
Delegate ScrollIntoView to ItemVirtualizer.
This doesn't make sense for ItemVirtualizationMode.Simple so we do
nothing here.
10 years ago
Steven Kirk
fa3550882a
Handle scrolling >1 page.
10 years ago
Steven Kirk
1d83126d20
More WIP on virtualization.
Kinda nearly working in the test app.
10 years ago
Steven Kirk
1c7a99dc5e
WIP Trying to get virt scrolling working.
10 years ago
Steven Kirk
91e2f2a0ca
Refactored virtualization handling into classes
Also take into account the scroll direction of the panel.
10 years ago
Steven Kirk
38afaf1aca
More WIP on adding virtualization to ItemsPresenter.
10 years ago
Steven Kirk
f9b3d2ac03
WIP: Adding virtualization to ItemsPresenter.
10 years ago
Steven Kirk
7db353e742
Added IScrollable.IsLogicalScrollEnabled.
10 years ago
Steven Kirk
ec35cdde79
Fixed TextBlock text wrapping.
And added render test (so far only to D2D backend)
10 years ago
Steven Kirk
57a0122549
Make ItemTemplate work for TreeView.
10 years ago
Steven Kirk
5cd9b98057
Added ItemsControl.ItemTemplate property.
10 years ago
Steven Kirk
0e8995e303
Added ContentControl.ContentTemplate.
10 years ago
Steven Kirk
710de1f85a
Fix an edge case in visual parenting.
If a child that already has a parent was added as a visual child of
another control and the exception caught, the control would still be
present in the VisualChildren collection.
10 years ago
donandren
4c0a026949
MemberSelector UnitTests
10 years ago
Steven Kirk
bb82a4ade6
Added .ncrunchproject for new test projects.
Currently disabled in ncrunch as there's a dependency between the two
projects and not sure how to get that working with ncrunch.
10 years ago
Steven Kirk
55a99684c7
Handle locales with ',' decimal separator.
Fixes #535 .
10 years ago
Nikita Tsukanov
e14ac5742f
RegisterServices should be called by AppBuilder
10 years ago
Nikita Tsukanov
40b9447bb3
Fixed DesignerAssist and added test for it
10 years ago
Steven Kirk
d79fc6bbd8
Added AppBuilder
Use AppBuilder to configure the Application and make sure that
everything is set up in the correct order.
10 years ago
Steven Kirk
5c33fbc6ee
Reimplemented property validation.
As far as it was in `property-validation-grokys` branch. Things were
messed up on master so had to merge this manually so may be problems.
10 years ago
Steven Kirk
d97c276b52
Added ncrunch project files.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Dan Walmsley
9f9e9920e4
added unit tests to test carousel presenter.
10 years ago
Steven Kirk
d8cf474274
Clear TabOnceActiveElement on removed container.
10 years ago
Steven Kirk
ca301280e8
Correctly clear focus when control removed.
Focus was staying on removed element.
10 years ago
Steven Kirk
139cc9416e
Fix test that was failing in Release mode.
Not sure why this makes it pass, but it does...
10 years ago
Jeremy Koritzinsky
aab4331a52
Changed validation on controls to allow notifications from multiple types of validation and correctly report if it is valid. Changed initalization of validation plugins to nest within each other so there can be multiple active at once.
10 years ago
Jeremy Koritzinsky
da5fd06fcd
Moved validation filtering into ExpressionObserver and out of InstancedBinding, PerspexObject, and the Priority* system. Renamed some methods in this system to be more descriptive.
10 years ago
Steven Kirk
e305ec2f52
Added packages.config for skia render tests.
10 years ago
Nikita Tsukanov
bf25cf4817
Skip tests
10 years ago
Nikita Tsukanov
961b58dbfd
Skip tests blocked by SkiaSharp
10 years ago
Jeremy Koritzinsky
814b6ebac7
Removed now unused test.
10 years ago
Jeremy Koritzinsky
774c6e6fa4
Made validation enable-able during binding construction, similar to WPF. Now validation events are only raised when the validation type is enabled on the property.
10 years ago
Jeremy Koritzinsky
ee486113e5
Finished wiring up validation support. Now exceptions and INotifyDataErrorInfo implementers will set controls into their ":invalid" pseudo-class state.
10 years ago
Steven Kirk
004ed96de5
Prevent nested selection changing parent selection.
Added previously failing
Nested_ListBox_Does_Not_Change_Parent_SelectedIndex test to check it.
10 years ago
Steven Kirk
a2ea7e36e3
Added Carousel.IsVirtualized.
10 years ago