Max Katz
f276c4ed8b
Changes after review
5 years ago
Max Katz
031e8ac2f0
Complete
5 years ago
Max Katz
e5ca5c38e8
Update IChildIndexProvider interface with ChildIndexChanged and implement in on items controls
5 years ago
Max Katz
69fb1c056f
FIrst version of nth-child
5 years ago
Dariusz Komosinski
cca1d4abc4
Fix even more tests.
5 years ago
Nikita Tsukanov
d355007c57
Extracted runtime XAML loader to a separate package
6 years ago
Steven Kirk
8d2af50808
Add failing tests for #3552 .
6 years ago
Steven Kirk
8e7c0e1c59
Make Transitions a styled property.
This requires that a `<Transitions>` element is used to contain the transitions in XAML and a `new Transitions()` is used when assigning transitions from code.
6 years ago
Steven Kirk
ab67200954
Implement finding common base type.
Had to also change the unit test to use controls that all have the `Background` property in a common base type.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Steven Kirk
370590f3e0
Add failing tests for #2838 .
6 years ago
Andrey Kunchev
73be933bd0
add failing test for ControlTemplate can't be added to resources #3145
6 years ago
Andrey Kunchev
97f57c7bec
add test for style resources
6 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
76f9c8fdc5
Removed legacy XAML loader
7 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
7 years ago
Steven Kirk
62526bef35
Don't disallow setting unregistered properties.
The changes made to the animation system in #1768 currently needs to be able to set any property on any object in order for animations on transforms to work.
8 years ago
Steven Kirk
5210926c03
Disallow setting unregistered properties.
8 years ago
Steven Kirk
16e274d29a
Added some unit tests for #1764 .
8 years ago
Jeremy Koritzinsky
cf8244b37a
Move current contents of Avalonia.Markup to Avalonia.Base. Move Avalonia.Markup.Xaml.Data/Parser classes to Avalonia.Markup since they're not Xaml-specific.
Use pattern-matching switch.
Fix bug from cleanup.
8 years ago
Steven Kirk
5cc5b91930
Fix xunit warnings.
9 years ago
Jeremy Koritzinsky
7e4c16838b
Remove StyleResource markup extension tests.
9 years ago
Steven Kirk
84aa27162f
Made a start adding Control/Application.Resources.
9 years ago
Andrey Kunchev
1f530c20f4
minor refactorings
9 years ago
Andrey Kunchev
895cdb4b14
ensure style include is built from Markup extension
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
donandren
8b468c174c
fix AvaloniaPropertyConverter Tests, added attached property binding test, fixed some tests, simplified others
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
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
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
1c3b1672b8
Added failing test.
StyleResources cannot currently be found in other style resources
because the style resource binding is evaluated before the style is
attached to the parent. Described in #492 .
10 years ago
Steven Kirk
8209a85193
Make IBinding return an InstancedBinding.
Instead of an ISubject<object> as this was wasteful when a OneTime or
OneWay binding was required.
10 years ago
Steven Kirk
a9f5fac632
Added failing test.
10 years ago
Steven Kirk
b4fbc1d50e
Make failing test pass.
10 years ago
Steven Kirk
80ecc8002b
Implemented delayed bindings.
10 years ago
Steven Kirk
0df95a81ae
Added new style resource test.
To get style resources working, OmniXaml #84 really needs to be set, so
style resource tests failing for the moment.
10 years ago
Steven Kirk
b3fe8121d1
Implement binding elements to non-controls.
10 years ago
Steven Kirk
102af14c4c
Tidied up XAML tests.
Moved actual XAML loading tests into Xaml directory, removed unused
classes.
10 years ago
Steven Kirk
624a7cf962
Trying to fix intermittent test failure.
10 years ago
Steven Kirk
f62f32c83c
Allow {StyleResource} in setter.
10 years ago
Steven Kirk
d1cbc3fa22
Added failing test.
10 years ago
Steven Kirk
19af37a6af
Started adding StyleResource markup extension.
OmniXAML issue #84 is now blocking us.
10 years ago
Steven Kirk
6b06d0ee4c
Started adding Style resources.
Added Style.Resources and confirmed that Color can be added to the
resources. However, SolidColorBrush doesn't work - needs a fix from
OmniXAML.
10 years ago
Steven Kirk
9a0df79ec5
Use UnitTestApplication in some more places.
Also removed service registration from some tests that now don't require
it.
10 years ago
Steven Kirk
3e6402711c
Make TreeViewItem.IsExpanded bindings work.
10 years ago
Steven Kirk
1841e7ad7a
Start allowing Setters to contain bindings.
This is needed so that things like the following can be done:
<TreeView>
<TreeView.Styles>
<Style Selector="TreeViewItem">
<Setter Property="IsExpanded" Value="{Binding IsExpanded}"/>
</Style>
</TreeView.Styles>
<TreeView>
(At the moment we have TreeDataTemplate.IsExpanded but this isn't good
enough: it only supports setting IsExpanded on creation of the item with
no binding.)
With this commit, setters can now contain bindings, but they aren't yet
applied correctly. As part of this commit, classes related to binding
have been moved to the Perspex.Data namespace.
10 years ago