Shadow does not honour Styles #19560
Labels
area-xaml
XAML, CSS, Triggers, Behaviors
platform/android 🤖
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
If I use a Shadow, and update the appropriate Style in Styles.xaml, the shadow does not apply the properties set in the style.
For example, if I change the entry in Styles.xaml to have a Red brush:
I would expect all Shadows to be red. They remain with their default colour.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/jameslavery/MauiShadowTestApp
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No. Apart from setting the Shadow's attributes locally on each ContentPage/ContentView, thus not making use of Styles.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: