Xamarin.Forms - Shadow Effect with Runtime Parameter Change
This sample demonstrates using attached properties to pass parameters to an effect, and changing a parameter at runtime.
For more information about the sample see Creating an Effect, and Passing Parameters to an Effect.