Benedikt Schroeder
38ae0140c2
Remove special case that checks for AvaloniaList<object>
7 years ago
Benedikt Schroeder
5df55e5c9f
Fix multiselection
7 years ago
Benedikt Schroeder
b20f3f4cdf
Update selected context when selected index changes
7 years ago
Nikita Tsukanov
a16e3bff7f
Added InitialPressMouseButton to PointerReleasedEventArgs that returns the button that caused the PointerPressed event
MouseButton is now deprecated with error, since people need to decide which behavior they want
7 years ago
Steven Kirk
d7357ec876
Remove ContentControlMixin.
And implement the functionality in the content controls themselves. `ContentControlMixin` was too complex and even with its complexity had bugs (such as in #2821 ). By moving the functionality to the content controls there is some repeated code but it's much more straightforward.
7 years ago
Nikita Tsukanov
cba7de5f06
Do not crash
7 years ago
Nikita Tsukanov
ec99f7d1a9
Initial scroll gesture implementation
7 years ago
Steven Kirk
3d578464c6
Register TabControl with ContentControlMixin.
`ContentControlMixin` implements a number of behaviors related to logical children that controls that have a `ContentPresenter` need in order to function correctly.
Also renamed `PART_Content` to `PART_SelectedContentHost` to match WPF
Fixes #2191
7 years ago
Benedikt Schroeder
99c2b49367
Code style
8 years ago
Benedikt Schroeder
f8b196a39b
Minor fixes
8 years ago
Steven Kirk
fad2e317ba
Make AffectsMeasure/Arrange/Render typed.
8 years ago
Steven Kirk
fc709c3a0f
Partially fix tab strip orientation.
8 years ago
Benedikt Schroeder
4f549c16fc
Initial
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
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
11 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
11 years ago
Wiesław Šoltés
c47b8fef5b
Added TabStripPlacement property
11 years ago
Steven Kirk
5bfa93b747
Renamed Deck -> Carousel.
11 years ago
Steven Kirk
c0dff57a78
Make SelectedItems bindable.
And to avoid confusion removed SelectedIndexes.
11 years ago
Steven Kirk
271f47fb5b
Make SelectionMode flags.
So you can combine behaviours.
11 years ago
Steven Kirk
7b82df4369
Replaced AutoSelect with SelectionMode.
Added protected multiple selection properties to SelectingItemsControl.
11 years ago
Steven Kirk
ad70cf874c
Make the TestApplication work again.
Expose the tab item content selector from TabControl, and make
FuncMemberSelector return default(T) if the parameter is of the wrong
type.
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
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
a4680f2041
Removed TabControl.SelectedContent.
Not currently needed, as Deck is responsible for displaying the selected
content.
11 years ago
Steven Kirk
07aa92e1b7
Allow TabControl to reparent children of its Deck.
11 years ago
Steven Kirk
5303eb7cd8
Make all tests pass again.
Menus displaying weirdly though.
11 years ago
Steven Kirk
38e85a3f36
Started reworking reparenting controls.
11 years ago
Steven Kirk
77e81c4360
Make TabControl/Deck work again.
11 years ago
Steven Kirk
3492bd617f
Added SelectingItemsControl.AutoSelect.
11 years ago
Steven Kirk
3aa621cd96
Revert "Removed PerspexReadOnlyListView<T>"
This reverts commit 0359f8c9a3 .
11 years ago
Steven Kirk
0359f8c9a3
Removed PerspexReadOnlyListView<T>
I can't see why it was needed, just assigning the control's logical
child to the presenter's should work? No? Doesn't seem like it breaks
anything....
11 years ago
Steven Kirk
7f608ffa6c
Fixed failing tests.
11 years ago
Steven Kirk
aef34f810d
Stylecop fixes.
11 years ago
Steven Kirk
560707bfe2
Added page slide transition.
11 years ago
Steven Kirk
08aa54e16f
Added Transitions to TabControl.
Currently only one transition available: CrossFadeTransition, which is
demonstrated in the test app.
11 years ago
Steven Kirk
2fbf3d0280
Make TabControl use Deck.
11 years ago
Steven Kirk
5da890fbfb
Don't handle keypresses in TabControl.
11 years ago
Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
f013760ce5
Use consistent naming in base collections.
11 years ago
Steven Kirk
fb08924070
Make TabControl logical child test pass.
And simplified logic in selecting ContentControl logical child.
11 years ago
Steven Kirk
1c8a53a880
Test correct result from TabControl logical child.
Doesn't actually pass yet...
11 years ago
Steven Kirk
d25c4e0b4c
Some work on TabControl/TabStrip.
11 years ago
Steven Kirk
7c09351939
Make logical tree work for TabControl.
It only contains the currently visible tab - I'm not so happy about
this...
12 years ago
Steven Kirk
2c1d2cb7a8
Display logical tree in DevTools.
12 years ago