Go explore other effects too, they're all in the same namespace.
using System.Windows.Media.Effects;
MouseEnter += delegate
{
Effect = new DropShadowEffect
{
Color = Colors.Black,
BlurRadius = 13,
ShadowDepth = 3
};
};
MouseLeave += delegate
{
Effect = null;
};
No comments:
Post a Comment