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
Steven Kirk
b20ced7c2b
Refactored brushes.
`SolidColorBrush` is now mutable. There are immutable versions of
brushes in the `Avalona.Media.Immutable` namespace and the static
`Brushes.Xxx` properties return these.
9 years ago
Steven Kirk
7d6503a5f7
Added RelativeSource=Self XAML tests.
9 years ago
Steven Kirk
c9d3408c29
Improve numerical binding error messages.
10 years ago
Steven Kirk
7cb001801a
Try to improve logged binding errors.
- Don't log an error when the target for the root ExpressionNode is
null. This is usually because the `DataContext` hasn't been set up yet
and it spewed a load of useless error messages.
- Add a Description field to `ExpressionObserver` that can be used in
the case of e.g. #control bindings to record the whole expression (with
the "#control" part) rather than just the part tracked by the
`ExpressionObserver`.
10 years ago
Steven Kirk
f59c16bc00
Improve broken binding diagnostic messages.
10 years ago
Steven Kirk
92ebb7f6d8
Log meaningful message for AggregateException.
10 years ago
yusuf-gunaydin
282082a05e
Setter does not build the template if the target property derives from ITemplate.
10 years ago
Steven Kirk
e142bc10fb
Don't build mobile stuff in NCrunch.
10 years ago
Steven Kirk
89ca4857f0
Tweaked a couple of tests.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago