Jeremy Koritzinsky
f9b578ab0e
Make AncestorType required for ancestor searching via the visual tree.
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
Steven Kirk
2bd26bd9b8
Added failing test for #1245 .
9 years ago
Nikita Tsukanov
a4c9f1e400
Make ShapeLayoutTests use MockPlatformRenderInterface
9 years ago
sdoroff
7db5ae8db9
Added unit tests
9 years ago
Nikita Tsukanov
7affba4763
Cleaning splat
9 years ago
ARSolog
9539979a6e
Update DataAnnotationsValidationPluginTests.cs
fix unit test to non 'en-us' CultureInfo
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
181dd53e58
Notify DataContextChanged down tree.
When a data context changes, it should be notified to all descendant controls who inherit the data context. This allows the `SelectingItemsControl` to defer setting the selected item until the `DataContext` has changed for the whole tree.
Renamed `OnDataContextChanging`/`OnDataContextChanged` to `OnDataContextBeginUpdate`/`OnDataContextEndUpdate` because `DataContextChanged` is now called from the property changed notification.
Fixes #507 .
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
Steven Kirk
ca7584ce3f
Added failing test for #1218
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
Steven Kirk
880cf657ec
Accept root in IRenderer.HitTest.
Fixes #1221 .
9 years ago
Steven Kirk
e3d34f2eb8
Added a failing test for #1221
9 years ago
Steven Kirk
268587c432
Fix DropDown popup opening.
When the `DropDown` control is clicked, toggle the opening of the popup.
Fixes #1169 .
9 years ago
Jeremy Koritzinsky
54e8187a70
Fix StackOverflow in Negation Binding. Fixes #1213
9 years ago
Steven Kirk
763775fa82
Clear mouse capture when control removed.
When a captured control is removed from the visual tree, clear the mouse capture.
Note that our capture logic needs to be improved - it shouldn't be possible to capture a non-visible or non-enabled control. This doesn't address that but it does fix the crash in #1203 .
Fixes #1203
9 years ago
Steven Kirk
d1eb0512bb
Added failing test for #1171 .
9 years ago
Steven Kirk
815d3f719e
Report correct root in logical tree attach/detach.
Fixes #1192 .
9 years ago
Nikita Tsukanov
884423d879
Adapt threading tests to VerifyAccess on AvaloniaObject.ctor
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
Nikita Tsukanov
3e09457e10
[D2D1] Implement support for IFramebufferPlatformSurface
9 years ago
José Pedro
cc7098583e
Fixed Assert.Null warnings.
9 years ago
Nikita Tsukanov
bdbe95b9b1
Fixed DispatcherTimer's priorities
9 years ago
Dan Walmsley
18e556a1b1
correct stack panel unit tests.
9 years ago
Steven Kirk
5fd6f5ac6d
Snap bounding boxes to pixels.
9 years ago
Steven Kirk
685a509c5c
Reimplement commented-out tests.
9 years ago
Jeremy Koritzinsky
6dc6ec84e9
Add leak test to make sure the method accessor doesn't leak memory.
9 years ago
Jeremy Koritzinsky
81168ac094
Add error handling for methods with too many parameters. Add support for static methods.
9 years ago
Jeremy Koritzinsky
250f6acef0
Add delegate -> command conversion as a default value conversion.
9 years ago
Jeremy Koritzinsky
12ec059acb
Initial code to enable binding to a method.
9 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
9 years ago
Nikita Tsukanov
b963d68668
Try to respect DispatcherPriority when possible
9 years ago
Jurjen Biewenga
6fc85456f1
Added expected test results for Cairo and Direct2D
9 years ago
Jurjen Biewenga
e74a1be8e4
Added SVGPath test
9 years ago
Steven Kirk
bb5a7f0cd3
Removed IRenderLayerFactory
And use `IDrawingContextImpl.CreateLayer` instead.
9 years ago
Eli Arbel
aa45cccec4
Fix slider
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Eli Arbel
aee42bad6c
Add scroll bar & slider buttons
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
5827f3c284
Missed file from merge
9 years ago