I'm looking for a way to add a Drop Shadow Effect
to the multiple kind of elements in my Windows Phone 8.1 Runtime (not Silverlight!) application. The main problem is that.. there's no offical API for it. The main problem is that I need to mimic this effect not only to the basic shapes (like rectangle or a line), but also a path, like here:
Picture is borrowed from this question: path-with-broken-shadow-effect - I hope the owner won't mind ;) Now, he has achieved this effect because it was done in WPF. I'm working on a Universal App (so WinRT), and there's no Effects extension.
I've searched the web multiple times, and found some kind of workarounds, but they all miss something. For example this one:
http://www.silverlightshow.net/items/Simple-Xaml-Drop-Shadows-in-Silverlight-2.aspx <- I can't work on Canvas
, the content has to be a Grid
.
Do you any idea how can I achieve satisfying results on faking Drop Shadow Effect in Windows Phone 8.1 Runtime?
Grid
as well, or why can't you do it with aGrid
? – thumbmunkeysGrid
as a root for the content (with transparent background), and then inside of theGrid
I have placedPath
that imitates that shape (I need almost the same shape, don't how to to call it). I don't know how could I mimic solution presented above to thePath
object. And also, I don't use round shapes, and it looks much worse without it. – Malutek