Jeremy Koritzinsky
cf8244b37a
Move current contents of Avalonia.Markup to Avalonia.Base. Move Avalonia.Markup.Xaml.Data/Parser classes to Avalonia.Markup since they're not Xaml-specific.
Use pattern-matching switch.
Fix bug from cleanup.
8 years ago
Steven Kirk
2e8521e690
Added failing test for #1271 .
8 years ago
Steven Kirk
0e8995e303
Added ContentControl.ContentTemplate.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
70a6b6dcb8
Prevent controls appearing twice in logical tree.
10 years ago
Steven Kirk
eec9a1f44a
Added shared TestRoot class.
And use it in every unit test project except SceneGraph as that one is
different.
10 years ago
Steven Kirk
9a0df79ec5
Use UnitTestApplication in some more places.
Also removed service registration from some tests that now don't require
it.
10 years ago
Steven Kirk
4845dfd0fa
Added IContentPresenterHost.
Similarly to how we now have IItemsPresenterHost.
10 years ago
Steven Kirk
c4ceebcfb3
Ensure Presenter template is applied...
...before updating ContentControl's logical children, as otherwise the
Presenter.Child may be null as UpdateChild has not yet been called.
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
a6b74db847
Merge branch 'logical-tree' into leaks
10 years ago
Steven Kirk
25fa7ddc6a
Added Carousel and CheckBox XAML styles.
10 years ago
Steven Kirk
01417ba883
Renamed ControlTemplate -> FuncControlTemplate
10 years ago
Steven Kirk
338a1c0d91
Added ItemsControl.MemberSelector
And use it to select the TabItem.Content property for the Deck in a
TabControl.
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
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
aa147f0423
More stylecoping.
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
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
fba2633ab9
Renamed Decorator.Content property as Child.
11 years ago
Steven Kirk
fef04a5f5d
Implemented Menus a bit better.
Now appear correctly in logical tree and use general-purpose mechanisms
rather than direct communication between MenuItems.
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
fb08924070
Make TabControl logical child test pass.
And simplified logic in selecting ContentControl logical child.
11 years ago
Steven Kirk
5a1aca2876
Make template find methods to extension class.
11 years ago
Steven Kirk
a4bf79b7cc
Moved tests to Tests subdir.
11 years ago
Steven Kirk
1a3a78847b
Converted tests to run with xUnit.
11 years ago
Steven Kirk
2c1d2cb7a8
Display logical tree in DevTools.
11 years ago
Steven Kirk
70ff41b060
Use Control.ApplyTemplate to apply template.
11 years ago
Steven Kirk
309ac30a41
Make ContentControl child be logical child.
The control this is created by the ContentPresenter now appears as the
logical child of the parent ContentControl.
11 years ago
Steven Kirk
9a994e582c
Moved VisualTree extensions into own namespace.
So that they don't pollute the whole Perspex namespace - you now need to
"opt-in" to the visual tree.
11 years ago
Steven Kirk
336e1c4ae2
Implemented ILogical.
11 years ago
Steven Kirk
4370087af6
Fixed easily-fixable failing tests.
11 years ago
Steven Kirk
ec0b43d388
Added Controls.Primitives namespace
For controls that are only supposed to be used as the base for other
controls.
12 years ago
Steven Kirk
4a42a9e692
TabStrip rendering again now at least.
12 years ago
Steven Kirk
3f24d2f6ef
Everything compiling now.
But not working, obviously.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
19459f9c5b
Added some more tests.
Still don't show up the bug I'm looking for...
12 years ago
Steven Kirk
3d89fd922a
Fixed up logical tree stuff.
12 years ago
Steven Kirk
797cbb433b
Added TemplateBinding syntactic sugar.
12 years ago
Steven Kirk
486863f795
Added StyleTrigger binding priority.
This allows :mouseover etc to override the value that comes from the
templated parent.
12 years ago
Steven Kirk
d1491d9ceb
Started revamping binding system.
To allow prioritized bindings.
12 years ago
Steven Kirk
3d8d93d1eb
Fixed controls getting styled multiple times.
12 years ago