DropShadowChrome is a library that allows the user to apply a drop-shadow to a window.
The DropShadowChrome class exposes two properties:
- ShadowBrush: used to render the surrounding border as well as the shadow.
- Density: affects the opacity of the surrounding border and the shadow.
To install the library you can directly grab the binaries from the Releases section, or use the following nuget package: https://www.nuget.org/packages/DropShadowChrome
Below is the XAML snippet used to render the above screenshot:
<lib:DropShadowChrome.DropShadowChrome>
<lib:DropShadowChrome ShadowBrush="DarkGreen" Density="0.6"/>
</lib:DropShadowChrome.DropShadowChrome>