Max Katz
e9a01c6c21
Update naming
3 years ago
Max Katz
d8d2240ecb
Implement support for DataTypeInheritFromAttribute
3 years ago
Max Katz
be22b361c8
Add theme variants specific tests
3 years ago
Max Katz
ab64b33470
Remove IRuntimePlatform.OperatingSystem API and replace with trimmable OperatingSystem API
3 years ago
Max Katz
9f633b8411
Fix OnPlatform-like extensions with a single input parameter
3 years ago
Giuseppe Lippolis
2aa79269e8
fix: Address reviw
3 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Max Katz
c8120fbbe7
Update tests with "LoadGroup" method instead of assetloader hacks
3 years ago
Max Katz
4460de529e
Implement multiple documents loading and transforming in AvaloniaRuntimeXamlLoader
3 years ago
Steven Kirk
1a338ac087
Remove IStyler and make style apply internal.
- Removes the `IStyler` service and the `Styler` implementation
- Moves the logic for applying styles and control themes into `StyledElement`
- Removes the style `TryAttach` method from the public API
- Removes style caching for now - this will need to be added back
4 years ago
Max Katz
c111b235f7
Fix static property getter/setter
4 years ago
Max Katz
7b00f34df8
Fix template parent compiled bindings with "!" in the beginning
4 years ago
Max Katz
bdd588fef8
Also check for previous XamlIlTypeSelector
4 years ago
Max Katz
ddeb27e0a3
CompiledBinding resolve template type from selector
4 years ago
Max Katz
5553958238
Remove RuntimeHostConfigurationOption
4 years ago
Max Katz
6bd6e9fd29
Reuse PlatformFact on some onplatform tests
4 years ago
Max Katz
12921c17f7
Refactor extension to use a custom xaml method
4 years ago
Max Katz
3d4b0ae91c
Reenable form factor markup extension with some tests
4 years ago
Max Katz
06a68751a4
Move IsOnPlatform method to the xaml helpers class
4 years ago
Max Katz
9e41a88f46
Reimplement OnPlatform to inject IL code instead of markup extension
4 years ago
Dan Walmsley
a8ac68b36c
skip failing test for now.
4 years ago
Max Katz
0dfc280e8f
WIP
4 years ago
Giuseppe Lippolis
6213676115
fix: Address CA1822 rule
4 years ago
Giuseppe Lippolis
de4b55f8ee
feat(tests): Address rule CA1822
4 years ago
Max Katz
34f8f3d556
Fix DataType set on Binding extension + add tests
4 years ago
Max Katz
2619ab1759
Fix compiled binding with TemplatedParent relative source
4 years ago
Max Katz
142b878984
Fix special case of compiled binding with Path child
4 years ago
Max Katz
042fd47c1e
Fix ElementName binding inside of control template
4 years ago
Max Katz
a1804e2e16
Add tests for explicitly implemented interface property binding
4 years ago
Steven Kirk
d21e634ab3
Added support for implicit themes.
If no `Theme` property is provided, try to look up a resource keyed with the control's `StyleKey`.
4 years ago
Max Katz
30447ac033
Add tests for OnPlatform extensions
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
b567fcebf5
Rename TemplateDataTypeAttribute to DataTypeAttribute
4 years ago
Max Katz
f1a2716858
Inherit DataType from template without hardcoding on specific DataTemplate implementation
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
Jeremy Koritzinsky
1d5e262487
Use a dynamically-emitted trampoline method so we can handle the "execute method has a return type" case cleanly.
This also provides a location for us to add any other trampolines that we need to emit.
4 years ago
Jeremy Koritzinsky
cdc8c9f078
Add some tests
4 years ago
Jeremy Koritzinsky
0576baf5b7
Add tests for full-fidelity method->delegate conversion in compiled bindings.
4 years ago
Jeremy Koritzinsky
7624e14bcd
Support RelativeSource-based bindings without requiring an x:DataType property.
Only require an x:DataType property when we actually use it.
4 years ago
Dan Walmsley
51ab3266dd
add a unit test.
5 years ago
Giuseppe Lippolis
df5250e155
ref(tests): warning CS0067 The event 'TrackingResourceProvider.OwnerChanged' is never used
5 years ago
Steven Kirk
911262bf3f
Correctly handle long-form bindings with empty path.
5 years ago
Steven Kirk
551380e71d
Added failing test for #4392 .
5 years ago
Dariusz Komosinski
cca1d4abc4
Fix even more tests.
5 years ago
Dariusz Komosinski
e55c11ec37
Fix unit tests.
5 years ago
José Pedro
f281e81530
Fixed typo.
Whitespace fixes.
5 years ago
Steven Kirk
b16820a230
Added failing test for application resources.
`DynamicResource` in `Application.Resources` fails to resolve resource.
6 years ago
Steven Kirk
34b5f07e96
Added failing tests for #5027 .
We shouldn't subscribe to bindings until needed.
6 years ago
Nikita Tsukanov
b229acf8dc
Don't use the concrete type in tests
6 years ago