I have a menu that has a "glow" effect that works fine, but I cannot find out how to stop it. I have tried setting: effTitleFade = null; but the effect keeps going. What am I missing?
I found the example here:http://social.msdn.m...16-c681ec94d346
DropShadowEffect effTitleFade = new DropShadowEffect(); effTitleFade.Color = Color.FromArgb(0, 0, 255, 255); effTitleFade.Direction = 0; effTitleFade.BlurRadius = 0; effTitleFade.ShadowDepth = 0; this.txtTitle.Effect = effTitleFade; DoubleAnimation daBlur = new DoubleAnimation(0, 25, new Duration(TimeSpan.FromSeconds(4))); daBlur.AutoReverse = true; daBlur.RepeatBehavior = RepeatBehavior.Forever; effTitleFade.BeginAnimation(DropShadowEffect.BlurRadiusProperty, daBlur);