CompositionPropertyAnimator.AnimationEnded Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the animation has ended.
// Register
event_token AnimationEnded(TypedEventHandler<CompositionPropertyAnimator, AnimationEndedEventArgs const&> const& handler) const;
// Revoke with event_token
void AnimationEnded(event_token const* cookie) const;
// Revoke with event_revoker
CompositionPropertyAnimator::AnimationEnded_revoker AnimationEnded(auto_revoke_t, TypedEventHandler<CompositionPropertyAnimator, AnimationEndedEventArgs const&> const& handler) const;
public event TypedEventHandler<CompositionPropertyAnimator,AnimationEndedEventArgs> AnimationEnded;
function onAnimationEnded(eventArgs) { /* Your code */ }
compositionPropertyAnimator.addEventListener("animationended", onAnimationEnded);
compositionPropertyAnimator.removeEventListener("animationended", onAnimationEnded);
- or -
compositionPropertyAnimator.onanimationended = onAnimationEnded;
Public Custom Event AnimationEnded As TypedEventHandler(Of CompositionPropertyAnimator, AnimationEndedEventArgs)
Event Type
Remarks
Important
This API exists only in Windows 10, version 1507 (Build 10240).