Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Steven Kirk
6001115573
Use SelectionModel in SelectingItemsControl.
6 years ago
Steven Kirk
56825d252e
Expose ContentPresenter from ItemsControl.LogicalChildren.
Exposing the `ContentPresenter.Child` in `ItemsControl.LogicalChildren` was causing problems when detaching and reattaching an `ItemsControl` to the logical tree. Instead, expose the `ContentPresenter` itself in effect meaning that `ItemsControl` has a "container" type just like the controls derived from it.
Fixes #3487
6 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
92284afa14
Added failing test for #2507 .
7 years ago
Steven Kirk
5745b72222
Started refactoring CarouselPresenter.
Make it react correctly to changes in the source collection. Fixes #2432 .
7 years ago
Dan Walmsley
9911fff84d
fix carousel presenter and add unit test for condition.
8 years ago
Dan Walmsley
3536496f21
Add test for when carousel Items is reset and virtualized.
8 years ago
Dan Walmsley
612d99d01e
use GetVisualDescendents in test.
8 years ago
Dan Walmsley
2a78b5e9c2
Add unit test and Fix for case where TemplateApplied when SelectedIndex is already set.
8 years ago
Dan Walmsley
2900333f69
Add test to ensure SelectedIndex / SelectedItem is maintained when
items are removed mid-list.
8 years ago
Dan Walmsley
65d57262b2
Add unit tests to demonstrate the issues with Carousel
8 years ago
Jumar Macato
2556b50992
Rename Carousel & TabControls Transition property to PageTransitions to avoid confusion to the upcoming Transitions from Avalonia.Animations.
8 years ago
Steven Kirk
5cc5b91930
Fix xunit warnings.
8 years ago
danwalmsley
e53cbd13f9
Added failing unit test for Carousel
10 years ago
Steven Kirk
fbb7ea759b
Make ItemContainerGenerator create containers
Make the untyped ItemContainerGenerator create `ContentPresenter`
containers when the data isn't a control. This is required for correct
binding to `DataContext` in a data template.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
a2ea7e36e3
Added Carousel.IsVirtualized.
10 years ago
Steven Kirk
c810f95904
Don't ApplyTemplate on nested templated controls...
...during ApplyTemplate. This was so that ItemsControls could their find
ItemsPresenters nested in other templated controls. Instead use
IItemsPresenterHost to make the presenter register itself with its
TemplatedParent.
10 years ago
Steven Kirk
01417ba883
Renamed ControlTemplate -> FuncControlTemplate
11 years ago
Steven Kirk
5bfa93b747
Renamed Deck -> Carousel.
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
d11d779414
Trying to fix capitalization of tests and docs AGAIN.
11 years ago
Steven Kirk
1a2fba4798
Revert "Fixed casing of Docs and Tests directories."
This reverts commit 845b28a2c2 .
11 years ago
Steven Kirk
845b28a2c2
Fixed casing of Docs and Tests directories.
11 years ago
Steven Kirk
77e81c4360
Make TabControl/Deck work again.
11 years ago
Steven Kirk
c0fc38358f
Refactored templates a bit.
Added interfaces, moved them to Controls.Templates namespace and added
base classes for common Func<> templates.
11 years ago
Steven Kirk
ba8552cb81
Renamed Id to Name.
No reason to be different for the sake of it.
11 years ago
Steven Kirk
04673d539f
Fix TabControl logical parent.
11 years ago