José Pedro
7cccc6bda0
Use nameof where possible.
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Steven Kirk
d01e19e3f4
Added failing test for #1275 .
9 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
9 years ago
Steven Kirk
3243e0fd15
Added failing test for #1303
`TemplateBinding_With_Null_Path_Works` is a failing test for #1303 , also added a passing test for the same thing with `Binding`: `Binding_With_Null_Path_Works`.
9 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
edf2018149
Refactored tests to move XAML Binding class tests into Avalonia.Markup.Xaml.UnitTests.
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
Nikita Tsukanov
7affba4763
Cleaning splat
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
Steven Kirk
d6b6a0fa96
Refactored InstancedBinding creation.
Previously it wasn't clear which constructor on `InstancedBinding` must be called for a particular binding mode. Refactored the constructors:
- We now have a single public ctor which takes an `ISubject`, as a subject can be used for all binding modes.
- Instanced bindings with other sources such as single values and `IObservables` are now constructed via static methods which only allow the correct sources for that binding mode
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
Jeremy Koritzinsky
83ee601735
Use TypeUtilities to convert the type of CommandParameter to the correct type.
9 years ago
Jeremy Koritzinsky
120eb2dde6
PR Feedback.
9 years ago
José Pedro
cc7098583e
Fixed Assert.Null warnings.
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Jeremy Koritzinsky
dff3031e20
Upgrade ReactiveUI to the v8 alpha nuget package so we don't need to maintain our own fork. Avalonia.ReactiveUI only registers the MainScheduler, and it does so via a call to UseReactiveUI on AppBuilder.
Update Rx.Net dependency to match reactiveui's dependency on Rx.
Removed ReactiveUI dependeny in BindingTests.
Updated BindingTest sample to use the new reactiveui APIs.
Update samples to use current ReactiveUI APIs.
Fixed bug I introduced into tests.
Remove RxUI submodule info from .gitmodules
9 years ago
Steven Kirk
f6ed69be28
StyleResource -> DynamicResource
9 years ago
Steven Kirk
a72ce3671d
Added ResourceInclude.
9 years ago
Steven Kirk
56c06be403
DynamicResource merged dictionary tests.
9 years ago
Steven Kirk
91387a74e1
Start testing MergedDictionaries.
9 years ago
Steven Kirk
2c1efe3773
Static resource as binding converter
Enable using a `StaticResource` as a binding converter. Fixes #818 .
9 years ago
Steven Kirk
fcee846228
Added tests for #1020
Passing. Closes #1020 .
9 years ago
Steven Kirk
a0bda15576
More resource extension tests.
One failing.
9 years ago
Steven Kirk
71e8b4fc69
Update dynamic resources on set parent.
9 years ago
Steven Kirk
0e155bd2d4
Make dynamic resources work in more situations.
Fixes #492 in a fashion: `DynamicResource` now works for this scenario.
9 years ago
Steven Kirk
513efe99f7
Start making DynamicResource react to changes.
9 years ago
Steven Kirk
61848673d2
Renamed test classes.
9 years ago
Steven Kirk
b459445290
Use an anchor for dynamic resources.
9 years ago
Steven Kirk
eda7c1f09d
Added more tests.
Some failing.
9 years ago
Steven Kirk
38dce7b7cd
Added DynamicResourceExtension.
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
Jeremy Koritzinsky
5ec7b33a1a
Revert "Upgrade ReactiveUI to the v8 alpha"
9 years ago
Jeremy Koritzinsky
74865bc601
Fixed bug I introduced into tests.
9 years ago