Silverlight 3 shipped with 2 built-in bitmap effects that can be applied to any UIElement – those are DropShadow and Blur. But not to worry, we can create and use a lot more effects, because these are pixel shaders, compatible with the ones built for WPF. There are quite a few WPF (now even including SL support) effects libraries out there and I will be looking at those in one of the future posts. This time, it’s only this simple and very straightforward example, showing off the two built-in effects.
Run the application online
Source code below:
ff519716-ff53-4151-82f0-fe5d54eb9a06|1|2.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :