question

ApptacularApps-8305 avatar image
0 Votes"
ApptacularApps-8305 asked danielescipioni answered

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

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




windows-uwpwindows-uwp-xaml
6p2xa.png (4.7 KiB)
capture.png (2.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

danielescipioni avatar image
0 Votes"
danielescipioni answered

Could be similar to this

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


you have to play with these properties

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.