Méthode IUIAnimationStoryboardEventHandler2 ::OnStoryboardStatusChanged (uianimation.h)
Gère les événements de modification du storyboard status.
Syntaxe
HRESULT OnStoryboardStatusChanged(
[in] IUIAnimationStoryboard2 *storyboard,
[in] UI_ANIMATION_STORYBOARD_STATUS newStatus,
[in] UI_ANIMATION_STORYBOARD_STATUS previousStatus
);
Paramètres
[in] storyboard
Storyboard pour lequel le status a changé.
[in] newStatus
Nouvel état.
[in] previousStatus
Le status précédent.
Valeur retournée
Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT. Pour obtenir la liste des codes d’erreur, consultez Codes d’erreur d’animation Windows .
Remarques
Par défaut, un appel effectué dans une méthode de rappel à toute autre méthode d’animation entraîne l’échec de l’appel et le retour de UI_E_ILLEGAL_REENTRANCY. Toutefois, il existe des exceptions à cette valeur par défaut. Les méthodes suivantes peuvent être appelées à partir de OnStoryboardStatusChanged :
- IUIAnimationManager2 ::CreateAnimationVariable
- IUIAnimationManager2 ::CreateStoryboard
- IUIAnimationManager2 ::GetStoryboardFromTag
- IUIAnimationManager2 ::GetVariableFromTag
- IUIAnimationStoryboard2 ::Abandon
- IUIAnimationStoryboard2 ::AddKeyframeAtOffset
- IUIAnimationStoryboard2 ::AddKeyframeAfterTransition
- IUIAnimationStoryboard2 ::AddTransition
- IUIAnimationStoryboard2 ::AddTransitionAtKeyframe
- IUIAnimationStoryboard2 ::AddTransitionBetweenKeyframes
- IUIAnimationStoryboard2 ::Conclusion
- IUIAnimationStoryboard2 ::Finish
- IUIAnimationStoryboard2 ::GetTag
- IUIAnimationStoryboard2 ::HoldVariable
- IUIAnimationStoryboard2 ::RepeatBetweenKeyframes
- IUIAnimationStoryboard2 ::SetLongestAcceptableDelay
- IUIAnimationStoryboard2 ::SetStoryboardEventHandler
- IUIAnimationStoryboard2 ::SetTag
- IUIAnimationStoryboard2 ::Schedule
- IUIAnimationTransition2 ::GetDuration
- IUIAnimationTransition2 ::IsDurationKnown
- IUIAnimationTransition2 ::SetInitialValue
- IUIAnimationTransition2 ::SetInitialVelocity
- IUIAnimationVariable2 ::GetCurrentStoryboard
- IUIAnimationVariable2 ::GetFinalIntegerValue
- IUIAnimationVariable2 ::GetFinalValue
- IUIAnimationVariable2 ::GetIntegerValue
- IUIAnimationVariable2 ::GetPreviousIntegerValue
- IUIAnimationVariable2 ::GetPreviousValue
- IUIAnimationVariable2 ::GetTag
- IUIAnimationVariable2 ::GetValue
- IUIAnimationVariable2 ::SetTag
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 8, Windows 7 et Mise à jour de plateforme pour Windows 7 [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Aucun pris en charge |
Plateforme cible | Windows |
En-tête | uianimation.h |
DLL | UIAnimation.dll |
Voir aussi
IUIAnimationStoryboard2 ::GetStatus
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour