How to set DropShadowPanel reminiscent to Microsoft Store card-like items

Apptacular Apps 386 Reputation points
2020-06-14T17:28:22.173+00:00

What are the default properties (including colour and offsets) used for drop shadows in the Microsoft Store? My current code keep showing shadows from the side for some reason.

<controls:DropShadowPanel BlurRadius="4.0" ShadowOpacity="0.70" OffsetX="5.0" OffsetY="5.0" Color="Black"/>  

Expected result

10041-6p2xa.png

Current result

9927-capture.png

Universal Windows Platform (UWP)
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Daniele 1,991 Reputation points
    2020-06-14T18:30:52.117+00:00

    Could be similar to this

    <controls:DropShadowPanel BlurRadius="10" ShadowOpacity="2" OffsetX="0" OffsetY="3" Color="DimGray">
    

    you have to play with these properties

    No comments