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
Jeremy Koritzinsky
b0a1f3f3df
Update tests to use `x:Static`.
9 years ago
Jeremy Koritzinsky
7e4c16838b
Remove StyleResource markup extension tests.
9 years ago
Jeremy Koritzinsky
52617b4a58
Remove StyleResource and StyleBinding. Fold XamlBinding into Binding since that is the only place it is being used now.
9 years ago
Jeremy Koritzinsky
f869e3f178
Move path parsing into the binding extension. Our path shorthands will only work from XAML now. Now we can look up types.
9 years ago
Jeremy Koritzinsky
a29837dd04
Implement syntax sugar for RelativeSource (not including setting a specific AncestorType)
9 years ago
Steven Kirk
f6ed69be28
StyleResource -> DynamicResource
9 years ago
Steven Kirk
c7e1e5ddaa
Moved StaticResourceTests.
9 years ago
Steven Kirk
4268014e66
A few tweaks.
9 years ago
Steven Kirk
4a9302b61e
More work on static resources.
Also found a scenario that Portable.Xaml can't seem to handle...
9 years ago