CompositionPropertyAnimator.AnimationEnded Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica al termine dell'animazione.
// 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)
Tipo evento
Commenti
Importante
Questa API esiste solo in Windows 10 versione 1507 (Build 10240).