Jumar Macato
3469d23272
Merge pull request #3327 from AvaloniaUI/fixes/3323-resourcedictionary-resource
Fix referencing resources in merged dictionaries
6 years ago
Nikita Tsukanov
eddd06e9eb
Merge pull request #3332 from donandren/issues/3145
fix some issues with ControlTemplate in xamlil
6 years ago
Steven Kirk
0eb7b2d25e
Enable adding event handlers to Gestures events.
Added the `Add*Handler` and `Remove*Handler` events required by XAML in order to use attached event syntax. Added unit test to ensure this works.
7 years ago
Steven Kirk
d7357ec876
Remove ContentControlMixin.
And implement the functionality in the content controls themselves. `ContentControlMixin` was too complex and even with its complexity had bugs (such as in #2821 ). By moving the functionality to the content controls there is some repeated code but it's much more straightforward.
7 years ago
Nikita Tsukanov
766a4d69c8
Fixed escaped attribute values (e. g. StringFormat="\{0\}!")
7 years ago
Nikita Tsukanov
af4c1f06ad
Extra tests for markup extensions
7 years ago
José Pedro
f3dfddc112
Fixed Binding.DoNothing for MultiBinding.
7 years ago
Steven Kirk
a6c9086782
Fix flaky XAML tests.
Make tests that load XAML inherit from `XamlTestBase` which ensures that `Avalonia.Markup` is loaded.
7 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Nikita Tsukanov
c61644721e
Actually use parent name scope for templates
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Steven Kirk
fdd5d7afec
Added failing (skipped) test for #2592 .
7 years ago
José Pedro
5adf7c3a4c
Moved test to separate method.
7 years ago
Steven Kirk
0225023d53
Added failing tests for #2372 .
7 years ago
Nikita Tsukanov
76f9c8fdc5
Removed legacy XAML loader
7 years ago
Nikita Tsukanov
57e061366e
Use AvaloniaProperty<T> in test class
7 years ago
Nikita Tsukanov
86a48cf7d5
Fixed #2561
7 years ago
José Pedro
433c70a6c8
Added BindingOperations.DoNothing.
Added tests.
7 years ago
Nikita Tsukanov
bcd98ecfa6
Updated XamlIl
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Nikita Tsukanov
dd85f48c43
Update target and declaring types for properties of the root object with x:Class, fixes #2520
7 years ago
Nikita Tsukanov
67ea597d82
Properly pass root object instance to templates, fixes #2147 #2527
7 years ago
Steven Kirk
9d99cf699a
Remove test that is no longer true.
`UserControl`s should no longer be added to parent namescope.
7 years ago
Steven Kirk
208361b8fa
Don't register controls with parent namescope.
This reverts the changes in #843 because they were causing problems, as described by #2512 .
This should however not cause #829 to reappear because since #843 was merged we moved to Portable.Xaml and we're now registering controls with the root namescope in the XAML engine: b4577a1631/src/Markup/Avalonia.Markup.Xaml/PortableXaml/AvaloniaXamlObjectWriter.cs (L67)
Fixes #2512
7 years ago
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
9089d11091
Provide parent type metadata scope for Animatable.Transitions
7 years ago
Nikita Tsukanov
1338448bdc
Special treatment for bindings
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
feadefc1a1
Run Mono/FullNET tests for all "core" libs except Avalonia.Controls
7 years ago
Nikita Tsukanov
effc7c09c6
Fixed #2228
7 years ago
Nikita Tsukanov
5136750bc3
Added nullable type converter proxy
7 years ago
Nikita Tsukanov
04228b6d03
Support for mc:Ignorable + d:DataContext
7 years ago