Steven Kirk
0f5c97109b
Fix outdated naming.
6 years ago
Steven Kirk
21bddb1ced
Added test that fails after resource refactor.
`Changing_Resource_In_Templated_Parent_Should_Affect_Templated_Child` now fails because resource changed messages no longer traverse into templated children.
6 years ago
Steven Kirk
d138523b8e
Set owner on Styles children.
And added some unit tests.
6 years ago
Steven Kirk
eec2a05a26
Don't use ResourcesChanged to propagate.
Instead of each control listening to its parent `ResourcesChanged` event, use the logical tree to propagate `ResourcesChanged` events:
- When attaching to the logical tree, piggyback on the `AttachedToLogicalTree` traversal
- At other times, propagate by calling `NotifyResourcesChanged`
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
77d5ba92c0
Update BenchmarkDotNet,
6 years ago
Jumar Macato
451eb7337d
Merge pull request #3853 from AvaloniaUI/feature/3109-nonanimated-property-changes
Non-animated property change notifications
6 years ago
Steven Kirk
7755079502
Merge branch 'master' into feature/3109-nonanimated-property-changes
6 years ago
danwalmsley
ff282711bd
Merge pull request #3943 from AvaloniaUI/features/child-windows-api
Refactor Child Window API
6 years ago
Steven Kirk
234664011c
Fixed typo.
6 years ago
Steven Kirk
31d9e1d5e0
Merge branch 'master' into feature/3109-nonanimated-property-changes
6 years ago
danwalmsley
4f6bdd59d0
Merge branch 'master' into features/child-windows-api
6 years ago
danwalmsley
3f8c357d95
Merge pull request #3890 from AvaloniaUI/feature/decode-bitmap-at-sepcified-size
decode bitmaps at a specified size.
6 years ago
Dan Walmsley
2f1974684e
fix unit test.
6 years ago
Nikita Tsukanov
8bcafad8a3
Fixed ActivateTransientChildIfNeeded
6 years ago
Nikita Tsukanov
0f353769ec
X11Window cleanup
6 years ago
danwalmsley
cf4cfc1c2a
Merge branch 'master' into features/child-windows-api
6 years ago
danwalmsley
5b5414eb23
Merge branch 'master' into feature/decode-bitmap-at-sepcified-size
6 years ago
danwalmsley
2ab13a1991
Merge pull request #3940 from MarchingCube/fix-next-draw-as
Fix NextDrawAs in the DeferredRenderer
6 years ago
Dariusz Komosiński
dbc38de0f2
Merge branch 'master' into fix-next-draw-as
6 years ago
Nikita Tsukanov
05495837be
Merge pull request #3939 from AvaloniaUI/box-shadow-api-fixes
Box shadow api fixes
6 years ago
danwalmsley
e230976d8b
Merge branch 'master' into box-shadow-api-fixes
6 years ago
Dan Walmsley
1474670710
remove method.
6 years ago
Dan Walmsley
2501698af1
whitespace
6 years ago
Dan Walmsley
7496b0d48e
Merge branch 'features/child-windows-api' of https://github.com/AvaloniaUI/Avalonia into features/child-windows-api
6 years ago
Dan Walmsley
c928700feb
make copy of list before enumerating.
6 years ago
Dan Walmsley
578443d6e0
nits
6 years ago
Dan Walmsley
d5cdb96618
remove duplicate code.
6 years ago
Dan Walmsley
84fafd6547
remove isChild flag.
6 years ago
Dan Walmsley
85fc09147a
Merge remote-tracking branch 'origin/master' into features/child-windows-api
6 years ago
danwalmsley
eb2edc3ef3
Merge branch 'master' into features/child-windows-api
6 years ago
danwalmsley
0dd316f088
Merge pull request #3945 from AvaloniaUI/fixes/unwrap-designer-exception
Unwrap TargetInvocationExceptionin remote protocol.
6 years ago
Steven Kirk
51c19358b5
Merge branch 'master' into fixes/unwrap-designer-exception
6 years ago
danwalmsley
7cd335c3b8
Merge pull request #3937 from AvaloniaUI/update/items-repeater
Port ItemsRepeater changes from WinUI
6 years ago
danwalmsley
e07473bb03
Merge branch 'master' into update/items-repeater
6 years ago
Steven Kirk
949f33227f
Unwrap TargetInvocationException.
To provide a better error message to the designer.
6 years ago
Dan Walmsley
cb57a4313b
make owner property readonly.
6 years ago
Benedikt Stebner
72e2eb0ae9
Merge branch 'master' into box-shadow-api-fixes
6 years ago
Dan Walmsley
97ae32c619
fix collection modified exception.
6 years ago
Dan Walmsley
0e59c05b55
implement closing chain logic.
6 years ago
Dan Walmsley
86ac0ff5a5
OSX implement SetParent
6 years ago
Dariusz Komosiński
5425881b05
Merge branch 'master' into fix-next-draw-as
6 years ago
Dan Walmsley
313a292fc4
extend api so that when a parent is set you can state if the current window becomes modal.
6 years ago
danwalmsley
92e63f31c8
Update build.md
6 years ago
Dan Walmsley
4e0e72abf6
remove redundant call
6 years ago
Dan Walmsley
9b2ff91ea6
fix x11 implementation.
6 years ago
Dan Walmsley
c8e27b597c
use owner property.
6 years ago
Dan Walmsley
5dffe72af8
Closing event re-enabled parent.
6 years ago
Dan Walmsley
0116f7ad96
remove disabledBy array on win32.
6 years ago
Dan Walmsley
e1c1775e71
stubs
6 years ago