Nikita Tsukanov
76f9c8fdc5
Removed legacy XAML loader
7 years ago
Nikita Tsukanov
57e061366e
Use AvaloniaProperty<T> in test class
7 years ago
Nikita Tsukanov
86a48cf7d5
Fixed #2561
7 years ago
Nikita Tsukanov
bcd98ecfa6
Updated XamlIl
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Nikita Tsukanov
dd85f48c43
Update target and declaring types for properties of the root object with x:Class, fixes #2520
7 years ago
Nikita Tsukanov
67ea597d82
Properly pass root object instance to templates, fixes #2147 #2527
7 years ago
Steven Kirk
9d99cf699a
Remove test that is no longer true.
`UserControl`s should no longer be added to parent namescope.
7 years ago
Steven Kirk
208361b8fa
Don't register controls with parent namescope.
This reverts the changes in #843 because they were causing problems, as described by #2512 .
This should however not cause #829 to reappear because since #843 was merged we moved to Portable.Xaml and we're now registering controls with the root namescope in the XAML engine: b4577a1631/src/Markup/Avalonia.Markup.Xaml/PortableXaml/AvaloniaXamlObjectWriter.cs (L67)
Fixes #2512
7 years ago
Steven Kirk
1312626aed
Added failing test for #2512 .
7 years ago
Nikita Tsukanov
0a7c7fdfcf
Fixed TemplatedParent issue
7 years ago
Nikita Tsukanov
657447ff0c
Reproed binding issue
7 years ago
Nikita Tsukanov
10ef97cbf0
Fixed name
7 years ago
Nikita Tsukanov
afcb33c0fd
Make templated parent test more alike to the reported one
7 years ago
Nikita Tsukanov
20574f7c13
Test for reported TemplatedParent issue
7 years ago
Steven Kirk
d22282c151
Added failing tests for #2470 .
7 years ago
Nikita Tsukanov
5a47b295e3
Use !XamlIlPopulateOverride to populate class with precompiled xaml at runtime
7 years ago
Nikita Tsukanov
fe251ee1aa
Support for properties "attached" by AddOwner
7 years ago
Nikita Tsukanov
be404c342b
Fixed :not selector and fixed MyButton in tests
7 years ago
Nikita Tsukanov
ece2199d57
Disable tests checking that read-only properties can be set
7 years ago
Nikita Tsukanov
d0301bb4c4
Now passing most of the tests
7 years ago
Steven Kirk
f85995ed7e
Move design-time handling of events...
...to `Avalonia.Markup.Xaml`. Also added tests: tests required a new instance of `AvaloniaXamlSchemaContext` for each `AvaloniaXamlLoader` as otherwise one test can affect other tests.
7 years ago
Nikita Tsukanov
4c7551b9fa
CECIL
7 years ago
Steven Kirk
131a4d90ef
Remove Avalonia.ISupportInitialize.
This is a relic from when we were targeting a PCL profile that didn't have `System.ComponentModel.ISupportInitialize`. Now that we have that, use it instead.
7 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
7 years ago
Nikita Tsukanov
04228b6d03
Support for mc:Ignorable + d:DataContext
8 years ago
Steven Kirk
62526bef35
Don't disallow setting unregistered properties.
The changes made to the animation system in #1768 currently needs to be able to set any property on any object in order for animations on transforms to work.
8 years ago
Steven Kirk
5210926c03
Disallow setting unregistered properties.
8 years ago
Steven Kirk
16e274d29a
Added some unit tests for #1764 .
8 years ago
Jeremy Koritzinsky
274d8d8e82
Fix #1717
8 years ago
Steven Kirk
b8f127fce7
Reimplemented TemplateBinding.
Rather than just use a standard `Binding`, make `TemplateBinding` a lightweight binding in the case where the binding is simply to a property on the templated parent.
8 years ago
Steven Kirk
740b6073f0
Escape braces in format string.
8 years ago
Steven Kirk
70440517ca
Initial implementation of StringFormat.
XAML tests failing because of https://github.com/cwensley/Portable.Xaml/pull/106
8 years ago
Jeremy Koritzinsky
b38b46a280
PR Feedback.
8 years ago
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
71c3cb3b72
Added failing assert for #1559 .
8 years ago
Steven Kirk
6dfd705660
Added failing test for #1548 .
Caused by a bug in Portable.Xaml: https://github.com/cwensley/Portable.Xaml/issues/95
8 years ago
Steven Kirk
bdc8100961
Fix failing tests.
8 years ago
Steven Kirk
7b4cd4f96d
Modify/add tests for non-registered properties.
We should change to the behavior of other XAML frameworks where non-registered `AvaloniaProperty`s can be set on `AvaloniaObject`s via code.
8 years ago
José Pedro
7cccc6bda0
Use nameof where possible.
8 years ago
Steven Kirk
d01e19e3f4
Added failing test for #1275 .
8 years ago
Jeremy Koritzinsky
f9b578ab0e
Make AncestorType required for ancestor searching via the visual tree.
9 years ago
Steven Kirk
5cc5b91930
Fix xunit warnings.
9 years ago
Nikita Tsukanov
9152cbbe72
Added a unit test for attached properties with namespace
9 years ago
Jeremy Koritzinsky
0440794d79
Clean up tests and fix PR feedback.
9 years ago
Jeremy Koritzinsky
3b1b3cb9cd
Change test logic to working version.
9 years ago
Jeremy Koritzinsky
8d22a25a66
Bring back original logic of test. Still trying to figure out what's going on.
9 years ago
Steven Kirk
ca0e346f49
Added failing test for #507 .
9 years ago
Steven Kirk
cc147db28d
Added more tests.
One failing.
9 years ago
Jeremy Koritzinsky
745517f68e
Updated usage of Static and Type to be x:Static and x:Type.
9 years ago