0
I have the following animation when I start my project:
public ConfigInicial_Empresa()
{
InitializeComponent();
brush = (Brush)bc.ConvertFrom("#444");
window.Background = brush;
DoubleAnimation fadingAnimation = new DoubleAnimation();
fadingAnimation.BeginTime = TimeSpan.FromMilliseconds(500);
fadingAnimation.From = 0;
fadingAnimation.To = 2;
fadingAnimation.Duration = TimeSpan.FromSeconds(1.75);
fadingAnimation.AutoReverse = true;
tbBemVindo.BeginAnimation(TextBlock.OpacityProperty, fadingAnimation);
}
I would like to perform something right after this animation is over...
How can I succeed at this task?
Thank you in advance...
I had tried it this way, put the fadingAnimation.Completed under tbBemVindo.Beginanimation and it didn’t work... Because it will be?
– Emerson
Simple, you gave START in animation. It’s over. and only then did you speak for after it’s over (SHE ALREADY IS OVER) do you want an action to happen... then it doesn’t work... this rule goes for other things in programming.
– PauloHDSousa
It makes sense... Thank you :D
– Emerson