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
Steven Kirk
0b0667f5ee
Delay load static resources if necessary.
9 years ago
Steven Kirk
fe3c5d0290
Get Appplication.Resources from StaticResource.
9 years ago
Steven Kirk
b166b9c3fb
Started adding StaticResource.
9 years ago
Steven Kirk
84aa27162f
Made a start adding Control/Application.Resources.
9 years ago
Steven Kirk
3c382decbc
Added FindAncestor binding mode.
This uses the same (fugly) syntax as WPF for now. As discussed in #590 I'd like to add some syntactic sugar over this
9 years ago
Steven Kirk
56d7ee5ea8
Added tests for existing RelativeSource modes.
9 years ago
Nikita Tsukanov
9134723eef
Dead code elimination
9 years ago
Steven Kirk
3eb5e0e200
Tweaked logging of binding errors.
1. Fixed some tests to expect `BindingNotification`s to be returned on a broken binding chain.
2. Changed logging of `BindingNotification`s - log at `Warning` level (instead of `Error`) except when the binding chain is broken at the root, in which case log at `Information` level. Do this to prevent flooding the output window when initializing.
9 years ago
Andrey Kunchev
b798e3ffd4
fix unit test for SolidColorBrush
9 years ago
Andrey Kunchev
1f530c20f4
minor refactorings
9 years ago
Andrey Kunchev
f7bba472e4
tests for Grid Row and Col definitions
9 years ago
Andrey Kunchev
895cdb4b14
ensure style include is built from Markup extension
9 years ago
Andrey Kunchev
ac976a30bb
fixed review comments
9 years ago
Steven Kirk
65f9fe67f7
Added a set of immutable brushes.
Make `SolidColorBrush` immutable, but make the static `Brushes`
properties return immutable brushes. The immutable brushes will be
needed by the deferred renderer.
9 years ago
Steven Kirk
c3f71bc1c6
Added tests for stream binding operator in XAML.
9 years ago
Andrey Kunchev
824429b049
2 more unit test for parsing avalonia properties without getter or setter
9 years ago
Andrey Kunchev
e7de0aeb2e
added 2 more tests for creation order in xaml
9 years ago
Andrey Kunchev
84ac0cec54
added failing test for 2 way binding to IList avalonia property
9 years ago
Andrey Kunchev
ff5a8459c7
clean up and skip portable xaml failing test for xaml creation order, it's not valid for portable xaml context
9 years ago
Andrey Kunchev
a010d5c37a
use Delayed Bindings for all properties except datacontext
9 years ago
donandren
9d93b83fa6
WIP: really cache xaml types and props and other and other minor things
9 years ago
donandren
8b468c174c
fix AvaloniaPropertyConverter Tests, added attached property binding test, fixed some tests, simplified others
9 years ago
donandren
0e99ccce5f
added some more tests for xaml parsing of binding/multibinding/attached
9 years ago
donandren
e6cd080081
support Attached property in property type converter
9 years ago
donandren
cb4fcfb602
added test for complex style and Panel in control template
9 years ago
donandren
1a424e3ac2
add test for panel children set from xaml
9 years ago
donandren
55c6383a21
tempalte binding in control template operational
9 years ago
donandren
1ec99deaf6
some simple tests for bindind, tempaltebinding and control template
9 years ago
donandren
f73b3cc54f
fix style resources instantiation in portable.xaml
9 years ago
donandren
d59e5078d4
added tests for using type converters
9 years ago
donandren
1948fff8de
named control added to namescope tests
9 years ago
donandren
851b97ac58
Added some simple tests for Content control and datatemplate
9 years ago