Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to achieve this effect? #337

Open
HppZ opened this issue Aug 29, 2019 · 6 comments
Open

[Question] How to achieve this effect? #337

HppZ opened this issue Aug 29, 2019 · 6 comments
Assignees

Comments

@HppZ
Copy link

HppZ commented Aug 29, 2019

https://stackoverflow.com/questions/49718377/dropshadow-with-image-blur-uwp

@HppZ
Copy link
Author

HppZ commented Aug 29, 2019

from Groove Music:
image

@HppZ
Copy link
Author

HppZ commented Sep 6, 2019

image

@assassin316
Copy link

I think you're looking for this control:

https://docs.microsoft.com/en-us/windows/communitytoolkit/controls/dropshadowpanel

@HppZ
Copy link
Author

HppZ commented Sep 25, 2019

this shadow is not solidcolorbrush, it is generated from that image.

image

@daneuber
Copy link
Member

Hi @HppZ we'd recommend using Win2d to pre-blur the image, put that blurred surface in a visual, and parent that to the visual tree so that it's behind your image. Could you give that a try and see if you're able to get the effect you're looking for?

@ratishphilip
Copy link

I have implemented this effect in the ColorShadow control in CompositionProToolkit v1.0.1. Here are the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants