Max Katz
41d31d8857
Add thickness test as well
4 years ago
Max Katz
6520722e54
Attempt to not deferr value types
4 years ago
Max Katz
705e9065a3
Add more tests for lazy resources
4 years ago
Max Katz
1731f88822
Rename Default to Simple
4 years ago
Max Katz
33931e99bb
Fix unit tests
4 years ago
Benedikt Stebner
fdb19912b8
Fix tests
4 years ago
Benedikt Stebner
1408e52199
Add IAddChild support
4 years ago
Steven Kirk
5c6eeed4fa
Initial support for deferred resources in XAML compiler.
4 years ago
Steven Kirk
8c61f25188
Promote theme to LocalValue if applied from style.
4 years ago
Steven Kirk
dee353bb96
Support ControlTheme in XAML compiler.
4 years ago
Steven Kirk
902703fbed
Allow nested styles inline in parent style XAML.
Removes the need to enclose nested styles in a `<Style.Children>` element in XAML.
4 years ago
Max Katz
bc2179b337
Add XDataType_Should_Be_Ignored_If_DataType_Has_Non_Standard_Name test
4 years ago
Max Katz
1d9645f01f
Validate DataTemplates
4 years ago
Max Katz
d2af5dbcac
Implicitly map x:DataType to a DataType on a DataTemplate.
4 years ago
Steven Kirk
556adb4bc7
Use ^ as nesting selector.
`&` causes problems in xml files.
4 years ago
Steven Kirk
646ce23bb4
Initial XAML implementation of nested styles.
4 years ago
Steven Kirk
f8706278a8
Make OnPropertyChanged non-generic.
4 years ago
Benedikt Stebner
9250d93407
Implement embedded runs
Improve text edit navigation
Implement IncrementalTabWidth
4 years ago
Dariusz Komosinski
d9909ab527
Cleanup test.
4 years ago
Dariusz Komosinski
0d32823c59
Fixed compiled self binding not working from setters. Add extra tests for both reflection and compiled bindings.
4 years ago
Benedikt Stebner
95769ff007
Add TextBlock inlines support
4 years ago
Steven Kirk
beaf956af7
Use TemplatedParent priority in ControlTemplates.
4 years ago
Steven Kirk
f7ff0a0289
More failing tests for ControlTemplate resources.
4 years ago
Steven Kirk
351be2f4b2
Use style priority for attached values in templates.
4 years ago
Steven Kirk
a26059630f
Add failing test for control template value priority.
Add tests to check that template values are assigned with Style priority and move other XAML control template tests alongside it in a new test class.
4 years ago
Steven Kirk
ddb8f9c7de
Update unit tests to use new default theme URLs.
4 years ago
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
Nikita Tsukanov
5ede6f9ae2
Added support for non-control templates in XAML
5 years ago
Dariusz Komosinski
cca1d4abc4
Fix even more tests.
5 years ago
Yoh Deadfall
741f3458d4
Allowed empty templates
5 years ago
Nikita Tsukanov
61792ce45f
Allow binding to classes with Classes.ClassName
5 years ago
artyom
b7b5eaa702
Add a failing test
5 years ago
Steven Kirk
ad677f0ff4
Added failing test for #4900 .
5 years ago
Andrey Kunchev
cc1051efa3
add failing test for set of base class property
6 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
42859fae89
Refactored resources.
Split resource nodes into two types:
- `IResourceHost` represents controls and `Application`
- `IResourceProvider` represents resource dictionaries and styles, these are owned by `IResourceHost`s
Dynamic resources are now always resolved from an `IResourceHost`: if an `IResourceProvider` doesn't have a host then a dynamic resource in the resource provider will not be resolved. Resource providers no longer have a `ResourcesChanged` event, instead they notify their `IResourceHost` owner of a resource change by calling the `NotifyHostedResourcesChanged` method.
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
4a752c3f48
Get non-animated change information.
- Pass information for all property changes to `OnPropertyChangedCore`; whether they result in an effective value change or not
- Added `GetBaseValue` to get a value with a specified priority
- Change the signature of `OnPropertyChanged` again to take an `AvaloniaPropertyChangedEventArgs<T>`
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
b1cc2a1d9c
enable valid xamlil test (disabled before because of portable.xaml)
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
Andrey Kunchev
a04d0b7bbb
add failing test for ControlTemplate don't respect TargetType
6 years ago
Steven Kirk
c2f3f3fdf2
Added failing tests for #3323 .
6 years ago