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

PopupBox adding shadow #3129

Closed
poralcode opened this issue Mar 8, 2023 · 1 comment · Fixed by #3136
Closed

PopupBox adding shadow #3129

poralcode opened this issue Mar 8, 2023 · 1 comment · Fixed by #3136
Assignees
Labels

Comments

@poralcode
Copy link

poralcode commented Mar 8, 2023

I want to create a custom control where it shows a PopupBox with Calendar on click. It's working fine except I want to add more shadow to emphasize the PopupBox. Unfortunately, using md:ElevationAssist.Elevation="Dp8" doesn't work on PopupBox.

Is there a way I can add more shadow to it?

Version

4.5.0

@poralcode poralcode added bug evaluation required Items is pending review or evaluation by the team labels Mar 8, 2023
@poralcode
Copy link
Author

I was thinking, since md:ElevationAssist.Elevation="Dp8" is working on Calendar, I can just put it in there and then set the Padding of PopupBox to 10 and make its background transparent.

But now I got a new problem. The PopupBox won't accept any background color. It's always white.

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