Dan Walmsley
df43cd7569
fix wpf integration.
6 years ago
Dan Walmsley
aff7815d98
HandleTransparencyChanged when Hint changes.
6 years ago
Dan Walmsley
2354db6306
take into account the requested transparency hint when setting the fallback.
6 years ago
Nikita Tsukanov
1a5c8fcf3f
X11 transparency reporting and blur support
6 years ago
Dan Walmsley
d1049fd79f
dont use property for setting transparency level hint.
6 years ago
Dan Walmsley
b818ca05d4
always draw the border.
6 years ago
Dan Walmsley
f88f94cce3
fix win 10 version number check
6 years ago
Dan Walmsley
20916d49db
fix transparency fallback border.
6 years ago
Dan Walmsley
21e3642a2c
encapsulate and cache os version.
6 years ago
Dan Walmsley
4011cb3f49
Use Hint/Actual naming
6 years ago
Dan Walmsley
58c518c573
Add Hint / Actual properties for Transparency.
6 years ago
Dan Walmsley
9e9565f40f
fix border only margin.
6 years ago
Dan Walmsley
8d899096bb
implement appropriate blur level depending on windows 10 version.
6 years ago
Dan Walmsley
a37b2daf2c
set hidden flag
6 years ago
Steven Kirk
ab9522f83d
Fix silly mistake.
6 years ago
Steven Kirk
0a1cb6fdf8
Added ResourcesChangedEventArgs.Empty.
We don't need to allocate a new instance each time.
6 years ago
Steven Kirk
dcdaf5e0bf
Don't raise ResourceChanged on reparenting...
...when the new parent isn't attached to the tree. This prevents us sending a load of useless `ResourcesChanged` events.
6 years ago
Dan Walmsley
0c3f2aa856
implement transparency api on osx.
6 years ago
Dan Walmsley
30b81f1ded
Add stubs for transparency in other toplevel impls.
6 years ago
Dan Walmsley
fe7e8582d1
add basic win32 implementation for transparency level.
6 years ago
Dan Walmsley
a30e6d8cf6
Add framework support for TopLevel transparency level.
6 years ago
Dan Walmsley
cbd89289ab
add TransparencyLevel property to TopLevel
6 years ago
Dan Walmsley
5b3d5db1d6
Add WindowTransparencyLevel enum.
6 years ago
Steven Kirk
b6aec8f4e0
Propagate ResourcesChanged to visual layers.
6 years ago
Steven Kirk
7022c137e7
Propagate ResourcesChanged to template children.
Makes `Changing_Resource_In_Templated_Parent_Should_Affect_Templated_Child` pass again.
6 years ago
Steven Kirk
8a74069932
Fix leak in PropertySetterBindingInstance.
`_subscription` was being used twice: for the subscription from the `PropertySetterBindingInstance` to the control (line 69) and from the subscription to the source binding to the `PropertySetterBindingInstance` (line 151).
6 years ago
Dan Walmsley
cbda0e9d95
fix nits.
6 years ago
Steven Kirk
d138523b8e
Set owner on Styles children.
And added some unit tests.
6 years ago
Dariusz Komosinski
93320e4759
Only subscribe to Path.Data when Path is attached to the visual tree.
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
Wiesław Šoltés
4eef1c1179
Make DrawingContext.PushSetTransform method public
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
Dariusz Komosinski
b6923f8089
Enable nullable annotations for Shape.
6 years ago
Dariusz Komosinski
18ab92cf3a
Document Shape class.
6 years ago
Steven Kirk
234664011c
Fixed typo.
6 years ago
Nikita Tsukanov
8bcafad8a3
Fixed ActivateTransientChildIfNeeded
6 years ago
Nikita Tsukanov
0f353769ec
X11Window cleanup
6 years ago
Dan Walmsley
29004117b6
Draw operation bounds are Normalized.
6 years ago
Dan Walmsley
fe01544a4c
Add a Rect.Normalize method with tests.
6 years ago
Dan Walmsley
1474670710
remove method.
6 years ago
Dan Walmsley
2501698af1
whitespace
6 years ago
Dan Walmsley
c928700feb
make copy of list before enumerating.
6 years ago
Dan Walmsley
578443d6e0
nits
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
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
Dan Walmsley
313a292fc4
extend api so that when a parent is set you can state if the current window becomes modal.
6 years ago
Dan Walmsley
4e0e72abf6
remove redundant call
6 years ago