Steven Kirk
0b3aa3a84b
Prepare new containers before adding to tree.
Prevents compiled bindings failing because the `DataContext` is not yet set and is still inheriting the parent `DataContext`.
4 years ago
Steven Kirk
395a90d920
Create containers for remaining ItemsControls.
4 years ago
Steven Kirk
bcb3a6d5ca
Fix side panel width.
Variable width was causing the panel to flicker around as the values change.
4 years ago
Steven Kirk
d4a8b98b37
Invalidate measure less.
Only invalidate the measure when the viewport changes in the direction of scroll.
4 years ago
Steven Kirk
f042127290
Implement a few required members.
4 years ago
Steven Kirk
518391b37d
Make ItemsSourceView ctors private.
So in future we could have different `ItemSourceView` concrete implementations that e.g. have an inner `IReadOnlyList<T>` in order to address #8764 .
4 years ago
Steven Kirk
b678339b5d
TreeNodeCollection needs to implement IList now.
4 years ago
Steven Kirk
3195df0910
Use ItemsSourceView in ItemsControl.
Fixes #54 .
4 years ago
Steven Kirk
627d9c5d05
Make VirtualizationDemo compile again.
4 years ago
Steven Kirk
06de4bb8ab
Update comment.
4 years ago
Steven Kirk
c54e466db1
Remove `FillMode` on transitions.
Now that containers are being recycled, the state of the control following the animation needs to be the same as before the animation.
4 years ago
Steven Kirk
f0c89a614e
Reimplemented Carousel.
Only `VirtualizingCarouselPanel` currently implemented.
4 years ago
Steven Kirk
08f90dcad6
Make logic a bit clearer.
4 years ago
Steven Kirk
e7f3b23725
Implement ILogicalScrollable on ItemsPresenter.
4 years ago
Steven Kirk
be2da5cc21
Reimplemented commented-out code.
4 years ago
Steven Kirk
c99307c6fa
Use more consistent naming.
4 years ago
Steven Kirk
56db1dbd61
Remove unneeded change handler.
4 years ago
Steven Kirk
84abb69b61
Reinstated DialogsPage.
4 years ago
Steven Kirk
4a92fadd34
Fix StyleIncludeTests.
Wasn't finding `RelativeSource` type at times.
4 years ago
Steven Kirk
6f04196b84
Made TreeView work again and tests pass.
4 years ago
Steven Kirk
a7a71034b0
Remove unneeded tests.
4 years ago
Steven Kirk
306c045493
Reinstate some commented-out code.
4 years ago
Steven Kirk
1950e4b0a3
Remove TabControl.HeaderDisplayMemberBinding.
As `DisplayMemberBinding` should select the member for the header (in WPF it's `DisplayMemberPath`). Also set `TabItem.TabStripPlacement`.
4 years ago
Steven Kirk
000f393be7
Refresh containers when relevant property changes.
When `ItemsControl.DisplayMemberBinding` or `ItemTemplate` changes, refresh the containers.
4 years ago
Steven Kirk
2ae5c9c0fe
Reimplement IChildIndexProvider.
4 years ago
Steven Kirk
a6423b258d
Fix failing test.
4 years ago
Steven Kirk
004103a925
Reimplement DisplayMemberBinding.
Use a slightly different approach to the one that was previously there: create an item template that contains `DisplayMemberBinding`. This is the approach that WPF broadly uses too.
4 years ago
Steven Kirk
7e1068f441
Fix test.
4 years ago
Steven Kirk
2c4572a98e
Attach to panel before preparing container.
4 years ago
Steven Kirk
8bb1349785
Setup TabItems.
4 years ago
Steven Kirk
6626a2e218
Update TabControl on container index change.
4 years ago
Steven Kirk
c1ee26c05a
Fixed SelectingItemsControlTests.
`ListBox` now needs a root as it uses a `VirtualizingStackPanel`.
4 years ago
Steven Kirk
a9ca852300
Notify ItemsControl when container index changes.
4 years ago
Steven Kirk
bbd3d2a500
Only remove generated logical children.
4 years ago
Steven Kirk
14d429ec4e
Added ItemsControl.GetRealizedContainers().
4 years ago
Steven Kirk
fab8f15213
Make a few more tests pass.
4 years ago
Steven Kirk
b3982f1828
Create correct TabControl containers.
4 years ago
Steven Kirk
a1d809b49d
Fix VirtualizingStackPanel navigation logic.
4 years ago
Steven Kirk
e07e5cead5
Fix container generation logic.
4 years ago
Steven Kirk
57b1ba965c
Implement INavigableContainer.
4 years ago
Steven Kirk
1101f28dd7
Refactored ItemContainerGenerator.
A bunch of tests still failing, and some code commented out, but outlines the new API shape.
4 years ago
Steven Kirk
5d1f9f4a0f
Removed VirtualizationMode.
If you want a different virtualization mode, use a different panel.
4 years ago
Steven Kirk
c20e3c29e6
Initial (re)impl of VirtualizingStackPanel.
Currently only supports smooth scrolling.
4 years ago
Steven Kirk
692c0c155d
Begin refactoring ItemsPresenter.
A lot still broken, in particular virtualization is completely removed.`ItemsPresenter` now no longer has an `Items` or `ItemTemplate` property; it detects when it's hosted in an `ItemsControl`. `IItemsPresenter` interface removed.
4 years ago
Max Katz
511d7b5957
Merge pull request #9622 from danielmayost/fixes/moveFlowDirection
Move FlowFirection to Visual
4 years ago
Benedikt Stebner
36681d19e4
Merge branch 'master' into fixes/moveFlowDirection
4 years ago
Jumar Macato
cea2268971
Merge pull request #9642 from AvaloniaUI/fixes/9514-routedviewhost
Fix canceling animations.
4 years ago
Jumar Macato
a46c35f9b1
Merge branch 'master' into fixes/9514-routedviewhost
4 years ago
Max Katz
2a5c1095cf
Merge pull request #9625 from AvaloniaUI/fixes/9561-theme-reattach
Fix Theme Re-Attach and Animations in Styles Without Activators
4 years ago
Jumar Macato
e630da1616
Merge branch 'master' into fixes/9514-routedviewhost
4 years ago