AnimationTimeline.AllocateClock Méthode

Définition

Crée un Clock pour ce AnimationTimeline.

protected public:
 override System::Windows::Media::Animation::Clock ^ AllocateClock();
protected internal override System.Windows.Media.Animation.Clock AllocateClock ();
override this.AllocateClock : unit -> System.Windows.Media.Animation.Clock
Protected Friend Overrides Function AllocateClock () As Clock

Retours

Horloge pour ce AnimationTimeline.

Remarques

Cette méthode est appelée par la CreateClock méthode et ne doit pas être appelée directement par votre code.

Notes pour les héritiers

Les implémenteurs de AnimationTimeline doivent remplacer cette méthode lorsqu’elle a une horloge personnalisée correspondante qui doit être utilisée avec la classe . La méthode substituée doit créer et retourner une nouvelle instance de classe qui hérite de Clock.

S’applique à