Open h82258652 opened 4 years ago
DropShadowEffect is inefficient and not used by the builtin themes, they instead use SystemDropShadowChrome which is composed of gradients (linear gradients on edges, quarter circle gradients on corners)
The WPF repo didn't see much activity lately, so if you don't want to wait and solve it yourself you could built something analogue to SystemDropShadowChrome with gradients but composing inwards instead of outwards.
WPF only supports outer shadow. Here is a way to simulate inner shadow:
But it is too hack. I hope WPF can support the inner shadow effect.