Langue

Timeline.AllocateClock Méthode

Définition

Crée un Clock pour cela Timeline.

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

Retours

Une horloge pour cela Timeline.

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 Timeline 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 à