css,delay,transition,font-awesome,coloranimation
You apply a CSS transition to two extra elements here, which may slow the transition. It concerns socialSpan's children so remove the transitions applied to: .socialSpan { transition:all 0.4s; } instead of .socialSpan, .circleIco, .secondIco{ transition:all 0.4s; } Demonstration!...
c#,wpf,xaml,fade,coloranimation
So once again, we have a question where a user provides some code and says why is this happening? The answer in this case is the normal answer to these questions: You wrote some code to make it happen So to dig a little deeper, you have asked: if you...
wpf,background,border,coloranimation
Instead of System.Windows.Media.SolidColorBrush.ColorProperty, try setting "(Border.Background).(SolidColorBrush.Color)" Property Path. System.Windows.Media.Animation.Storyboard.SetTargetProperty(color, new System.Windows.PropertyPath("(Border.Background).(SolidColorBrush.Color)")); Also set Background in constructor of PrettyButton as like this : public PrettyButton() { ..... origColor.Color = System.Windows.Media.Color.FromArgb(0, 0, 0, 0); this.Background= new SolidColorBrush(origColor.Color); .. .... } UPDATE : public class...