I am able to put a halo around an UI element like a textbox.
The problem is that it nearly is invisible.
I do it with
Effect glowEffect = new DropShadowEffect
{
BlurRadius = 20,
Color = Colors.Gold,
ShadowDepth = 10,
Opacity = 1,
RenderingBias = RenderingBias.Quality
};
and apply it with
tbxSearch.GotFocus += (sendGF, argGF) => { (sendGF as TextBox).Effect = glowEffect; };
tbxSearch.LostFocus += (sendLF, argLF) => { (sendLF as TextBox).Effect = null; };
I tried changing all the parameters but nearly nothing changed. Thanks