CompositionPropertyAnimator.AnimationEnded 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于動畫結束時。
// 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)
事件類型
備註
重要
此 API 僅存在於 Windows 10 1507 版 (組建 10240) 。