Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WPF で、XAML のボタンなどに 2 つのアニメーションを追加できるようにしたいのですが、ボタンがクリックされたときに一度アニメーション化するようにしました。もう一度クリックすると、別のアニメーションを実行できますか?
ありがとう
ええ、それは可能です。ただし、最初のアニメーションは前に終了する必要があります。firstAnimation.Completedイベントが発生した後、button.BeginAnimation(anotherAnimation)を呼び出すだけです。